mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 05:40:38 +01:00
[apps] Substitute "app()->container()" by "AppsContainer::sharedAppsContainer()"
This commit is contained in:
committed by
EmilieNumworks
parent
268ad3f3ba
commit
eb3da7f395
@@ -203,7 +203,7 @@ void CalculationController::willDisplayCellAtLocation(HighlightCell * cell, int
|
||||
Model::Type modelType = m_store->seriesRegressionType(seriesNumber);
|
||||
|
||||
// Put dashes if regression is not defined
|
||||
Poincare::Context * globContext = const_cast<AppsContainer *>(static_cast<const AppsContainer *>(app()->container()))->globalContext();
|
||||
Poincare::Context * globContext = AppsContainer::sharedAppsContainer()->globalContext();
|
||||
double * coefficients = m_store->coefficientsForSeries(seriesNumber, globContext);
|
||||
bool coefficientsAreDefined = true;
|
||||
int numberOfCoefs = m_store->modelForSeries(seriesNumber)->numberOfCoefficients();
|
||||
|
||||
Reference in New Issue
Block a user