mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[poincare] Use reduce instead of deepReduce in simplify
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user