diff --git a/MathLib/LinAlg/Solvers/GaussAlgorithm.tpp b/MathLib/LinAlg/Solvers/GaussAlgorithm.tpp index d6d2068786e7dc8214074fc279b5b267837a017d..e4180d966c0d023d684e95ff34b93f25e5d98430 100644 --- a/MathLib/LinAlg/Solvers/GaussAlgorithm.tpp +++ b/MathLib/LinAlg/Solvers/GaussAlgorithm.tpp @@ -37,7 +37,8 @@ GaussAlgorithm<MAT_T, typename MAT_T::FP_T*>::GaussAlgorithm (MAT_T &A) : // exchange rows if (_perm[k] != k) { - for (j=0; j<nc; j++) std::swap (_mat(_perm[k],j), _mat(k,j)); + for (j=0; j<nc; j++) + std::swap (_mat(_perm[k],j), _mat(k,j)); } // eliminate