mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 19:59:05 +08:00
Fixed another enum related warning.
This commit is contained in:
parent
91c7af28a8
commit
058f7d3486
@ -51,7 +51,7 @@ class Array
|
|||||||
using Base::m_storage;
|
using Base::m_storage;
|
||||||
public:
|
public:
|
||||||
enum { NeedsToAlign = (!(Options&DontAlign))
|
enum { NeedsToAlign = (!(Options&DontAlign))
|
||||||
&& SizeAtCompileTime!=Dynamic && ((sizeof(Scalar)*SizeAtCompileTime)%16)==0 };
|
&& SizeAtCompileTime!=Dynamic && ((static_cast<int>(sizeof(Scalar))*SizeAtCompileTime)%16)==0 };
|
||||||
EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(NeedsToAlign)
|
EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(NeedsToAlign)
|
||||||
|
|
||||||
using Base::base;
|
using Base::base;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user