mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-03 09:14:11 +08:00
Fix comparison warning
This commit is contained in:
parent
d7698c18b7
commit
61c45d7cfd
@ -36,8 +36,8 @@ void check_static_allocation_size()
|
|||||||
|
|
||||||
template<typename T, int Size, typename Packet = typename packet_traits<T>::type,
|
template<typename T, int Size, typename Packet = typename packet_traits<T>::type,
|
||||||
bool Match = bool((Size%unpacket_traits<Packet>::size)==0),
|
bool Match = bool((Size%unpacket_traits<Packet>::size)==0),
|
||||||
bool TryHalf = bool(unpacket_traits<Packet>::size > Size)
|
bool TryHalf = bool(int(unpacket_traits<Packet>::size) > Size)
|
||||||
&& bool(unpacket_traits<Packet>::size > unpacket_traits<typename unpacket_traits<Packet>::half>::size) >
|
&& bool(int(unpacket_traits<Packet>::size) > int(unpacket_traits<typename unpacket_traits<Packet>::half>::size)) >
|
||||||
struct compute_default_alignment
|
struct compute_default_alignment
|
||||||
{
|
{
|
||||||
enum { value = 0 };
|
enum { value = 0 };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user