diff options
Diffstat (limited to 'test/vectorops.cpp')
-rw-r--r-- | test/vectorops.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vectorops.cpp b/test/vectorops.cpp index b061206c2..26969bf94 100644 --- a/test/vectorops.cpp +++ b/test/vectorops.cpp @@ -42,13 +42,13 @@ template<typename VectorType> void vectorOps(const VectorType& v) a = b; a = b + c; a = s * (b - c); - a = eval(s * (b - c)); + a = (s * (b - c)).eval(); a += b; a -= b + b; a *= s; b /= s; - a += eval(a + a); + a += (a + a).eval(); } void EigenTest::testVectorOps() |