[shared] Fix references to Poincare

This commit is contained in:
Émilie Feral
2018-08-10 13:17:07 +02:00
parent b5f66171fc
commit 17e63a5b07
11 changed files with 37 additions and 60 deletions

View File

@@ -41,7 +41,7 @@ void Function::setActive(bool active) {
template<typename T>
T Function::templatedApproximateAtAbscissa(T x, Poincare::Context * context) const {
return expression(context)->approximateWithValueForSymbol(symbol(), x, *context, Preferences::sharedPreferences()->angleUnit());
return expression(context).approximateWithValueForSymbol(symbol(), x, *context, Preferences::sharedPreferences()->angleUnit());
}
}