mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
Workaround MSVC compilation issue
This commit is contained in:
parent
2b2b4d0580
commit
c6a1ab4036
@ -106,7 +106,7 @@ EIGEN_DEVICE_FUNC
|
||||
inline Reshaped<EIGEN_RESHAPED_METHOD_CONST Derived,
|
||||
internal::get_compiletime_reshape_size<NRowsType,NColsType,SizeAtCompileTime>::value,
|
||||
internal::get_compiletime_reshape_size<NColsType,NRowsType,SizeAtCompileTime>::value,
|
||||
Order==AutoOrder?Flags&RowMajorBit:Order>
|
||||
(Order==AutoOrder?Flags&RowMajorBit:Order)>
|
||||
reshaped(NRowsType nRows, NColsType nCols) EIGEN_RESHAPED_METHOD_CONST
|
||||
{
|
||||
return Reshaped<EIGEN_RESHAPED_METHOD_CONST Derived,
|
||||
@ -130,9 +130,9 @@ reshaped() EIGEN_RESHAPED_METHOD_CONST
|
||||
template<int Order>
|
||||
EIGEN_DEVICE_FUNC
|
||||
inline Reshaped<EIGEN_RESHAPED_METHOD_CONST Derived,
|
||||
Order==RowMajor ? 1 : SizeAtCompileTime,
|
||||
Order==RowMajor ? SizeAtCompileTime : 1,
|
||||
Order==AutoOrder?Flags&RowMajorBit:Order>
|
||||
(Order==RowMajor ? 1 : SizeAtCompileTime),
|
||||
(Order==RowMajor ? SizeAtCompileTime : 1),
|
||||
(Order==AutoOrder?Flags&RowMajorBit:Order)>
|
||||
reshaped() EIGEN_RESHAPED_METHOD_CONST
|
||||
{
|
||||
EIGEN_STATIC_ASSERT(Order==RowMajor || Order==ColMajor, INVALID_TEMPLATE_PARAMETER);
|
||||
|
Loading…
Reference in New Issue
Block a user