Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbrun2012-10-12 05:48:35 -0400
committercbrun2012-10-12 05:48:35 -0400
commit733b2425121d8cafea09d87e471cdc168211b2f6 (patch)
treea12dd31f456d01661ca5617b8461e334112b428e
parent6f1cb6f6c936350df789b38f20b5e55b4fabbf66 (diff)
downloadorg.eclipse.emf.compare-master4.tar.gz
org.eclipse.emf.compare-master4.tar.xz
org.eclipse.emf.compare-master4.zip
Tweaking max distance's computation.master4
-rw-r--r--plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/match/eobject/EditionDistance.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/match/eobject/EditionDistance.java b/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/match/eobject/EditionDistance.java
index 5d4b99bb5..e0e756c28 100644
--- a/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/match/eobject/EditionDistance.java
+++ b/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/match/eobject/EditionDistance.java
@@ -465,7 +465,7 @@ public class EditionDistance implements DistanceFunction {
}
}
max = max + locationChangeCoef * 5;
- return max / 2;
+ return Double.valueOf(max / 3 * 2).intValue();
}
}

Back to the top