diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2009-08-31 17:29:37 +0200 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2009-08-31 17:29:37 +0200 |
commit | ab6eb6a1a49124b41b2764be98ac5b07a74a2a41 (patch) | |
tree | 6c218dd8d96d4bf43a6189f7ba2ffaa7fc27d516 /test/product_symm.cpp | |
parent | bc7aec0ef5475984edc39f43fcb099af44993081 (diff) |
Adaptions from .lazy() towards .noalias().
Added missing casts.
Diffstat (limited to 'test/product_symm.cpp')
-rw-r--r-- | test/product_symm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/product_symm.cpp b/test/product_symm.cpp index 1300928a2..cf0299c64 100644 --- a/test/product_symm.cpp +++ b/test/product_symm.cpp @@ -96,7 +96,7 @@ template<typename Scalar, int Size, int OtherSize> void symm(int size = Size, in m2 = m1.template triangularView<UpperTriangular>(); rhs13 = rhs12; - VERIFY_IS_APPROX(rhs12 += (s1 * ((m2.adjoint()).template selfadjointView<LowerTriangular>() * (s2*rhs3).conjugate())).lazy(), + VERIFY_IS_APPROX(rhs12.noalias() += s1 * ((m2.adjoint()).template selfadjointView<LowerTriangular>() * (s2*rhs3).conjugate()), rhs13 += (s1*m1.adjoint()) * (s2*rhs3).conjugate()); // test matrix * selfadjoint |