[poincare] Use reduce instead of deepReduce in simplify

This commit is contained in:
Léa Saviot
2018-11-08 15:19:03 +01:00
committed by Émilie Feral
parent 4b4376a41f
commit de2b3c22fe

View File

@@ -322,7 +322,7 @@ Expression Expression::ParseAndSimplify(const char * text, Context & context, Pr
Expression Expression::simplify(Context & context, Preferences::AngleUnit angleUnit, bool replaceSymbols) {
sSimplificationHasBeenInterrupted = false;
Expression e = deepReduce(context, angleUnit, replaceSymbols);
Expression e = reduce(context, angleUnit, replaceSymbols);
if (sSimplificationHasBeenInterrupted) {
return Expression();
}