diff --git a/cpp/Matrix.cpp b/cpp/Matrix.cpp index 44604a46e..e5038b14d 100644 --- a/cpp/Matrix.cpp +++ b/cpp/Matrix.cpp @@ -301,45 +301,46 @@ void householder_update(Matrix &A, int j, double beta, const Vector& vjm) { list > weighted_eliminate(Matrix& A, Vector& b, const Vector& sigmas) { bool verbose = false; - // get sizes - size_t m = A.size1(); - size_t n = A.size2(); + size_t m = A.size1(), n = A.size2(); // get size(A) size_t maxRank = min(m,n); // create list list > results; - // loop over the columns - for (int j=0; j