diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index 26aa609fe..fd2db56a4 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -195,7 +195,7 @@ template struct unpacket_traits }; template= unpacket_traits::size || is_same::half>::value> + bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> struct find_best_packet_helper; template< int Size, typename PacketType>