mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 20:56:00 +08:00
bug #1328: workaround a compilation issue with gcc 4.2
This commit is contained in:
parent
d3943cd50c
commit
40f62974b7
@ -191,7 +191,7 @@ struct find_best_packet
|
|||||||
#if EIGEN_MAX_STATIC_ALIGN_BYTES>0
|
#if EIGEN_MAX_STATIC_ALIGN_BYTES>0
|
||||||
template<int ArrayBytes, int AlignmentBytes,
|
template<int ArrayBytes, int AlignmentBytes,
|
||||||
bool Match = bool((ArrayBytes%AlignmentBytes)==0),
|
bool Match = bool((ArrayBytes%AlignmentBytes)==0),
|
||||||
bool TryHalf = bool(AlignmentBytes>EIGEN_MIN_ALIGN_BYTES) >
|
bool TryHalf = bool(EIGEN_MIN_ALIGN_BYTES<AlignmentBytes) >
|
||||||
struct compute_default_alignment_helper
|
struct compute_default_alignment_helper
|
||||||
{
|
{
|
||||||
enum { value = 0 };
|
enum { value = 0 };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user