mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
fix compilation issue for 64bit systems (pointer <=> size_t)
This commit is contained in:
parent
52a30c1d54
commit
ba9a53f9c6
@ -40,7 +40,7 @@ template <typename T, int Size, bool Align> struct ei_aligned_array
|
||||
|
||||
ei_aligned_array()
|
||||
{
|
||||
ei_assert((reinterpret_cast<unsigned int>(array) & 0xf) == 0
|
||||
ei_assert((reinterpret_cast<size_t>(array) & 0xf) == 0
|
||||
&& "this assertion is explained here: http://eigen.tuxfamily.org/api/UnalignedArrayAssert.html **** READ THIS WEB PAGE !!! ****");
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user