[apps/stats/reg] Data not suitable message

This commit is contained in:
Léa Saviot
2018-06-11 17:49:24 +02:00
parent 625e4dc5cf
commit de5cc75ac3
6 changed files with 6 additions and 6 deletions

View File

@@ -301,7 +301,7 @@ bool StoreController::privateFillColumnWithFormula(Expression * formula, Express
// Compute the new value using the formula
double evaluation = formula->approximateToScalar<double>(*store);
if (std::isnan(evaluation) || std::isinf(evaluation)) {
app()->displayWarning(I18n::Message::NonCompliantFormula);
app()->displayWarning(I18n::Message::DataNotSuitable);
return false;
}
}