From c6a1ab4036afff63fd92a15f15490a38c06bab4c Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sat, 6 Oct 2018 13:49:17 +0200 Subject: Workaround MSVC compilation issue --- Eigen/src/plugins/ReshapedMethods.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Eigen/src/plugins') diff --git a/Eigen/src/plugins/ReshapedMethods.h b/Eigen/src/plugins/ReshapedMethods.h index 574eb987b..ee96a368f 100644 --- a/Eigen/src/plugins/ReshapedMethods.h +++ b/Eigen/src/plugins/ReshapedMethods.h @@ -106,7 +106,7 @@ EIGEN_DEVICE_FUNC inline Reshaped::value, internal::get_compiletime_reshape_size::value, - Order==AutoOrder?Flags&RowMajorBit:Order> + (Order==AutoOrder?Flags&RowMajorBit:Order)> reshaped(NRowsType nRows, NColsType nCols) EIGEN_RESHAPED_METHOD_CONST { return Reshaped EIGEN_DEVICE_FUNC inline Reshaped + (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); -- cgit v1.2.3