Re-enable aliasing checks when using evaluators

This commit is contained in:
Gael Guennebaud
2014-09-14 19:06:08 +02:00
parent fda680f9cf
commit 26db954776
4 changed files with 22 additions and 4 deletions

View File

@@ -314,11 +314,13 @@ template<typename Derived> class DenseBase
EIGEN_DEVICE_FUNC
void transposeInPlace();
#ifndef EIGEN_NO_DEBUG
#ifndef EIGEN_TEST_EVALUATORS
protected:
template<typename OtherDerived>
void checkTransposeAliasing(const OtherDerived& other) const;
public:
#endif
#endif
EIGEN_DEVICE_FUNC static const ConstantReturnType