Commit bb5b137f authored by Romain Courteaud's avatar Romain Courteaud

Delta should be a positive value, or movement will never be considered as

divergent.
parent 1d83ac54
......@@ -93,7 +93,7 @@ class FloatEquivalenceTester(Predicate, EquivalenceTesterMixin):
# How to know if the other value is negligible or not ?
epsilon = abs(prevision_value * DEFAULT_PRECISION)
delta = decision_value - prevision_value
delta = abs(decision_value - prevision_value)
# XXX we should use appropriate property sheets and getter methods
# for these properties.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment