mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[poincare] Remove duplicate simplification interruption check
This commit is contained in:
@@ -312,9 +312,6 @@ Expression Expression::ParseAndSimplify(const char * text, Context & context, Pr
|
||||
Expression Expression::simplify(Context & context, Preferences::AngleUnit angleUnit, bool replaceSymbols) {
|
||||
sSimplificationHasBeenInterrupted = false;
|
||||
Expression e = reduce(context, angleUnit, replaceSymbols);
|
||||
if (sSimplificationHasBeenInterrupted) {
|
||||
return Expression();
|
||||
}
|
||||
e = e.deepBeautify(context, angleUnit);
|
||||
if (sSimplificationHasBeenInterrupted) {
|
||||
return Expression();
|
||||
|
||||
Reference in New Issue
Block a user