Revert "fixed bug causing failing unit tests"

This reverts commit 2caefb7474.
pull/499/head
Thomas S 5 years ago
parent 2caefb7474
commit 8b16db33ae

@ -327,9 +327,9 @@ public class Habit
if (isNumerical()) if (isNumerical())
{ {
if(getTargetType() == AT_LEAST) if(getTargetType() == AT_LEAST)
return todayCheckmark >= data.targetValue; return todayCheckmark >= doubleToCheckMarkValue(data.targetValue);
else else
return todayCheckmark <= data.targetValue; return todayCheckmark <= doubleToCheckMarkValue(data.targetValue);
} }
else return (todayCheckmark != UNCHECKED); else return (todayCheckmark != UNCHECKED);
} }

Loading…
Cancel
Save