[shared] Change name: StorageExpressionModel::expression --> expressionReduced

This commit is contained in:
Émilie Feral
2018-11-16 16:39:29 +01:00
parent 05083e76af
commit 90befab6ce
6 changed files with 13 additions and 12 deletions

View File

@@ -73,7 +73,7 @@ T StorageFunction::templatedApproximateAtAbscissa(T x, Poincare::Context * conte
return NAN;
}
const char unknownX[2] = {Poincare::Symbol::UnknownX, 0};
return expression(context).approximateWithValueForSymbol(unknownX, x, *context, Preferences::sharedPreferences()->angleUnit());
return expressionReduced(context).approximateWithValueForSymbol(unknownX, x, *context, Preferences::sharedPreferences()->angleUnit());
}
StorageFunction::FunctionRecordData * StorageFunction::recordData() const {