aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/eigen2/eigen2_mixingtypes.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2011-01-27 12:04:26 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2011-01-27 12:04:26 -0500
commitb2b8c6a89ca051e87b0e6da3c685f68f617662d2 (patch)
tree0864c591b0c3fc8d09d2ddbda62b80e9616fbf79 /test/eigen2/eigen2_mixingtypes.cpp
parente761ba68f7828cef0cb647b959a0ef9f80f00fb3 (diff)
dot() now always uses eigen3 convention, even in eigen2 support mode, even stage 10. Didn't have a choice as lots of eigen code is using it.
Diffstat (limited to 'test/eigen2/eigen2_mixingtypes.cpp')
-rw-r--r--test/eigen2/eigen2_mixingtypes.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/eigen2/eigen2_mixingtypes.cpp b/test/eigen2/eigen2_mixingtypes.cpp
index 3721a0047..1349cb67c 100644
--- a/test/eigen2/eigen2_mixingtypes.cpp
+++ b/test/eigen2/eigen2_mixingtypes.cpp
@@ -74,9 +74,9 @@ template<int SizeAtCompileType> void mixingtypes(int size = SizeAtCompileType)
VERIFY_RAISES_ASSERT(mcf*vcd);
VERIFY_RAISES_ASSERT(vcf = mf*vf);
- vf.dot(vf);
- VERIFY_RAISES_ASSERT(vd.dot(vf));
- VERIFY_RAISES_ASSERT(vcf.dot(vf)); // yeah eventually we should allow this but i'm too lazy to make that change now in Dot.h
+ vf.eigen2_dot(vf);
+ VERIFY_RAISES_ASSERT(vd.eigen2_dot(vf));
+ VERIFY_RAISES_ASSERT(vcf.eigen2_dot(vf)); // yeah eventually we should allow this but i'm too lazy to make that change now in Dot.h
} // especially as that might be rewritten as cwise product .sum() which would make that automatic.
void test_eigen2_mixingtypes()