mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/poincare] Move NormalDistribution to Poincare
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#include "equation_models_parameter_controller.h"
|
||||
#include "list_controller.h"
|
||||
#include "../constant.h"
|
||||
#include <assert.h>
|
||||
#include <poincare/layout_helper.h>
|
||||
#include <poincare/preferences.h>
|
||||
#include <apps/i18n.h>
|
||||
#include <assert.h>
|
||||
|
||||
using namespace Poincare;
|
||||
|
||||
@@ -23,7 +23,7 @@ EquationModelsParameterController::EquationModelsParameterController(Responder *
|
||||
m_selectableTableView.setDecoratorType(ScrollView::Decorator::Type::None);
|
||||
for (int i = 0; i < k_numberOfExpressionCells; i++) {
|
||||
Poincare::Expression e = Expression::Parse(k_models[i+1]);
|
||||
m_layouts[i] = e.createLayout(Poincare::Preferences::PrintFloatMode::Decimal, Constant::ShortNumberOfSignificantDigits);
|
||||
m_layouts[i] = e.createLayout(Poincare::Preferences::PrintFloatMode::Decimal, Preferences::ShortNumberOfSignificantDigits);
|
||||
m_modelCells[i].setLayout(m_layouts[i]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user