mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
fix compilation
This commit is contained in:
parent
a2d7c239f5
commit
bca04bd983
@ -78,7 +78,9 @@ template<int SizeAtCompileType> void mixingtypes(int size = SizeAtCompileType)
|
|||||||
|
|
||||||
// check dot product
|
// check dot product
|
||||||
vf.dot(vf);
|
vf.dot(vf);
|
||||||
|
#if 0 // we get other compilation errors here than just static asserts
|
||||||
VERIFY_RAISES_ASSERT(vd.dot(vf));
|
VERIFY_RAISES_ASSERT(vd.dot(vf));
|
||||||
|
#endif
|
||||||
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
|
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
|
||||||
// especially as that might be rewritten as cwise product .sum() which would make that automatic.
|
// especially as that might be rewritten as cwise product .sum() which would make that automatic.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user