[solver] Ignore empty equation when resolving systems

This commit is contained in:
Émilie Feral
2018-06-06 15:08:24 +02:00
parent ac9da8d559
commit 2d580faf51
13 changed files with 51 additions and 50 deletions

View File

@@ -19,7 +19,7 @@ GraphController::GraphController(Responder * parentResponder, CartesianFunctionS
}
I18n::Message GraphController::emptyMessage() {
if (m_functionStore->numberOfDefinedFunctions() == 0) {
if (m_functionStore->numberOfDefinedModels() == 0) {
return I18n::Message::NoFunction;
}
return I18n::Message::NoActivatedFunction;