[apps/solver] Always display used variables

Scenario: 3->x, 4->y, equation x+y+c=0 would not display the values of x
and y
This commit is contained in:
Léa Saviot
2020-01-29 15:46:35 +01:00
parent 424ee9fa15
commit 248e875192
3 changed files with 19 additions and 15 deletions

View File

@@ -196,7 +196,6 @@ void ListController::resolveEquations(bool secondTry) {
{
assert(e == EquationStore::Error::NoError);
if (modelStore()->numberOfSolutions() == 0 && !secondTry) {
modelStore()->tidy();
resolveEquations(true);
return;
}