mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Shared: revert change on ExpressionModel. The memoized expression
should be reduced.
This commit is contained in:
committed by
LeaNumworks
parent
3b81f9bedc
commit
e112d6cf17
@@ -21,7 +21,7 @@ const char * ExpressionModel::text() const {
|
||||
|
||||
Poincare::Expression ExpressionModel::expression(Poincare::Context * context) const {
|
||||
if (m_expression.isUninitialized()) {
|
||||
m_expression = Expression::Parse(m_text);
|
||||
m_expression = PoincareHelpers::ParseAndSimplify(m_text, *context);
|
||||
}
|
||||
return m_expression;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user