diff options
author | 2014-02-17 16:11:55 +0100 | |
---|---|---|
committer | 2014-02-17 16:11:55 +0100 | |
commit | d595fd31f544009e62a55d6ffc26e0b62f3147d5 (patch) | |
tree | d65354f2693e90a686ba6f31a4a57a5dbec7b9c8 /Eigen/src/Core/TriangularMatrix.h | |
parent | bffa15142c4271313a70801e6bb7d01365a00bc9 (diff) |
Deal with automatic transposition in call_assignment, fix a few shortcomings
Diffstat (limited to 'Eigen/src/Core/TriangularMatrix.h')
-rw-r--r-- | Eigen/src/Core/TriangularMatrix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/src/Core/TriangularMatrix.h b/Eigen/src/Core/TriangularMatrix.h index d413ec2e9..2b1c236b9 100644 --- a/Eigen/src/Core/TriangularMatrix.h +++ b/Eigen/src/Core/TriangularMatrix.h @@ -1235,6 +1235,7 @@ struct triangular_assignment_loop<Kernel, Mode, Dynamic, SetOpposite> } // end namespace internal +#ifdef EIGEN_TEST_EVALUATORS /** Assigns a triangular or selfadjoint matrix to a dense matrix. * If the matrix is triangular, the opposite part is set to zero. */ template<typename Derived> @@ -1244,6 +1245,7 @@ void TriangularBase<Derived>::evalToLazy(MatrixBase<DenseDerived> &other) const other.derived().resize(this->rows(), this->cols()); internal::call_triangular_assignment_loop<Derived::Mode,(Derived::Mode&SelfAdjoint)==0 /* SetOpposite */>(other.derived(), derived().nestedExpression()); } +#endif #endif // EIGEN_ENABLE_EVALUATORS |