diff --git a/Eigen/src/Core/PermutationMatrix.h b/Eigen/src/Core/PermutationMatrix.h index 6ce357091..8227c9bf9 100644 --- a/Eigen/src/Core/PermutationMatrix.h +++ b/Eigen/src/Core/PermutationMatrix.h @@ -129,6 +129,7 @@ class PermutationMatrix : public EigenBase=0; --k) applyTranspositionOnTheRight(k,tr.coeff(k)); + return *this; } #ifndef EIGEN_PARSED_BY_DOXYGEN