[solver] When resolving linear system, we count on the side effect of

rank which has thus to be done in-place
This commit is contained in:
Émilie Feral
2018-09-11 17:49:57 +02:00
parent d2ed06e2dc
commit bb9583d6dd

View File

@@ -188,7 +188,7 @@ EquationStore::Error EquationStore::resolveLinearSystem(Expression exactSolution
Ab.setDimensions(m, n+1);
// Compute the rank of (A | b)
int rankAb = Ab.rank(*context, angleUnit);
int rankAb = Ab.rank(*context, angleUnit, true);
// Initialize the number of solutions
m_numberOfSolutions = INT_MAX;