mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[poincare] Stop simplif. if reducing children triggered an interruption
This commit is contained in:
@@ -354,6 +354,9 @@ Expression Expression::deepReduce(Context & context, Preferences::AngleUnit angl
|
||||
#endif
|
||||
|
||||
deepReduceChildren(context, angleUnit, replaceSymbols);
|
||||
if (sSimplificationHasBeenInterrupted) {
|
||||
return *this;
|
||||
}
|
||||
return shallowReduce(context, angleUnit, replaceSymbols);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user