mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-09 14:41:49 +08:00
Workaround warning when EIGEN_STACK_ALLOCATION_LIMIT==0
This commit is contained in:
parent
8f87be9e03
commit
19e16fe15f
@ -88,7 +88,7 @@ class ProductBase : public MatrixBase<Derived>
|
|||||||
#ifndef EIGEN_NO_MALLOC
|
#ifndef EIGEN_NO_MALLOC
|
||||||
typedef typename Base::PlainObject BasePlainObject;
|
typedef typename Base::PlainObject BasePlainObject;
|
||||||
typedef Matrix<Scalar,RowsAtCompileTime==1?1:Dynamic,ColsAtCompileTime==1?1:Dynamic,BasePlainObject::Options> DynPlainObject;
|
typedef Matrix<Scalar,RowsAtCompileTime==1?1:Dynamic,ColsAtCompileTime==1?1:Dynamic,BasePlainObject::Options> DynPlainObject;
|
||||||
typedef typename internal::conditional<(BasePlainObject::SizeAtCompileTime==Dynamic) || (BasePlainObject::SizeAtCompileTime*sizeof(Scalar) < EIGEN_STACK_ALLOCATION_LIMIT),
|
typedef typename internal::conditional<(BasePlainObject::SizeAtCompileTime==Dynamic) || (int(BasePlainObject::SizeAtCompileTime*sizeof(Scalar)) < int(EIGEN_STACK_ALLOCATION_LIMIT)),
|
||||||
BasePlainObject, DynPlainObject>::type PlainObject;
|
BasePlainObject, DynPlainObject>::type PlainObject;
|
||||||
#else
|
#else
|
||||||
typedef typename Base::PlainObject PlainObject;
|
typedef typename Base::PlainObject PlainObject;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user