diff options
author | Kan Chen <chenkan5@huawei.com> | 2020-05-21 18:42:56 +0800 |
---|---|---|
committer | Kan Chen <chenkan5@huawei.com> | 2020-05-21 18:42:56 +0800 |
commit | 4e7046063babd95e100ab202d52ca5776997c80c (patch) | |
tree | 203b04e59f1169c652b2a1ad50d5665c416bb0f3 /Eigen/src/Core/products | |
parent | 2d67af2d2bf520c6c0a30fdeece52991ae49b4a9 (diff) |
Fix #1874: it works on both MSVC 2017 and other platforms.
Diffstat (limited to 'Eigen/src/Core/products')
-rw-r--r-- | Eigen/src/Core/products/GeneralBlockPanelKernel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Core/products/GeneralBlockPanelKernel.h b/Eigen/src/Core/products/GeneralBlockPanelKernel.h index 73198b3a2..afef6762f 100644 --- a/Eigen/src/Core/products/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/products/GeneralBlockPanelKernel.h @@ -2679,9 +2679,9 @@ struct gemm_pack_rhs<Scalar, Index, DataMapper, nr, RowMajor, Conjugate, PanelMo typedef typename DataMapper::LinearMapper LinearMapper; enum { PacketSize = packet_traits<Scalar>::size, HalfPacketSize = unpacket_traits<HalfPacket>::size, - QuarterPacketSize = unpacket_traits<QuarterPacket>::size, - HasHalf = (int)HalfPacketSize < (int)PacketSize, - HasQuarter = (int)QuarterPacketSize < (int)HalfPacketSize }; + QuarterPacketSize = unpacket_traits<QuarterPacket>::size}; + bool HasHalf = (int)HalfPacketSize < (int)PacketSize; + bool HasQuarter = (int)QuarterPacketSize < (int)HalfPacketSize; EIGEN_DONT_INLINE void operator()(Scalar* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride=0, Index offset=0) { EIGEN_ASM_COMMENT("EIGEN PRODUCT PACK RHS ROWMAJOR"); |