[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

@@ -105,7 +105,7 @@ bool ListParameterController::handleEnterOnRow(int rowIndex) {
stack->pop();
return true;
} else {
if (m_functionStore->numberOfDefinedFunctions() == 1) {
if (m_functionStore->numberOfDefinedModels() == 1) {
Function * f = m_functionStore->definedFunctionAtIndex(0);
f->setContent("");
StackViewController * stack = (StackViewController *)(parentResponder());