[apps/regression] Add TODO to improve coefficient update

This commit is contained in:
Hugo Saint-Vignes
2020-12-09 14:38:02 +01:00
committed by LeaNumworks
parent e17ff842b5
commit 357db4493d

View File

@@ -196,6 +196,8 @@ void Store::updateCoefficients(int series, Poincare::Context * globalContext) {
m_angleUnit = currentAngleUnit;
for (int i = 0; i < k_numberOfSeries; i++) {
if (m_regressionTypes[i] == Model::Type::Trigonometric) {
/* TODO : Assuming regression should be independent of angleUnit,
* coefficients b and c could just be converted to the new angle unit.*/
m_regressionChanged[i] = true;
}
}