diff --git a/modeling/math_equivalence.py b/modeling/math_equivalence.py index b5c066f..6d9f2d2 100644 --- a/modeling/math_equivalence.py +++ b/modeling/math_equivalence.py @@ -101,7 +101,7 @@ def _strip_string(string): # remove percentage string = string.replace("\\%", "") - string = string.replace("\%", "") + string = string.replace("%", "") # " 0." equivalent to " ." and "{0." equivalent to "{." Alternatively, add "0" if "." is the start of the string string = string.replace(" .", " 0.")