mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-21 17:19:36 +08:00
With C++11 Matrix<float> + Matrix<complex<float>> does not even compile
This commit is contained in:
parent
3594451ee0
commit
01b8440579
@ -52,7 +52,10 @@ template<int SizeAtCompileType> void mixingtypes(int size = SizeAtCompileType)
|
||||
|
||||
mf+mf;
|
||||
VERIFY_RAISES_ASSERT(mf+md);
|
||||
#ifndef EIGEN_HAS_STD_RESULT_OF
|
||||
// this one does not even compile with C++11
|
||||
VERIFY_RAISES_ASSERT(mf+mcf);
|
||||
#endif
|
||||
// the following do not even compile since the introduction of evaluators
|
||||
// VERIFY_RAISES_ASSERT(vf=vd);
|
||||
// VERIFY_RAISES_ASSERT(vf+=vd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user