aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/vectorops.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/vectorops.cpp')
-rw-r--r--test/vectorops.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vectorops.cpp b/test/vectorops.cpp
index 5f6331bf1..38beb19c2 100644
--- a/test/vectorops.cpp
+++ b/test/vectorops.cpp
@@ -42,11 +42,11 @@ template<typename VectorType> void vectorOps(const VectorType& v)
a = b;
a = b + c;
a = s * (b - c);
- a.alias() = a + b;
+ a = eval(s * (b - c));
a += b;
a += b + b;
- a.alias() += a + a;
+ a += eval(a + a);
}
void EigenTest::testVectorOps()