[apps/regression] Rename Affine -> Linear and Linear -> Proportional

This commit is contained in:
Léa Saviot
2020-05-13 13:41:05 +02:00
committed by LeaNumworks
parent 740e9e9d12
commit 2e5e2a3258
19 changed files with 87 additions and 87 deletions

View File

@@ -187,7 +187,7 @@ void GraphController::reloadBannerView() {
coefficientName++;
}
if (m_store->seriesRegressionType(*m_selectedSeriesIndex) == Model::Type::Linear || m_store->seriesRegressionType(*m_selectedSeriesIndex) == Model::Type::Affine) {
if (m_store->seriesRegressionType(*m_selectedSeriesIndex) == Model::Type::Linear || m_store->seriesRegressionType(*m_selectedSeriesIndex) == Model::Type::Proportional) {
int index = model->numberOfCoefficients();
// Set "r=..."
numberOfChar = 0;