mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-08 17:59:00 +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_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 !!! ****");
|
&& "this assertion is explained here: http://eigen.tuxfamily.org/api/UnalignedArrayAssert.html **** READ THIS WEB PAGE !!! ****");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user