diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-01-10 16:33:40 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-01-10 16:33:40 +0100 |
commit | e63678bc8969e76f0a767f0abf9a42f2a89c2d2a (patch) | |
tree | e91778fe510b82f008e620c6065e19c3031dbdda /Eigen/src/Core/DenseBase.h | |
parent | 8e247744a41dab895fec206020b58a6e6f28b0f7 (diff) |
Fix ambiguous call
Diffstat (limited to 'Eigen/src/Core/DenseBase.h')
-rw-r--r-- | Eigen/src/Core/DenseBase.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/DenseBase.h b/Eigen/src/Core/DenseBase.h index 7c01e9328..779cb4549 100644 --- a/Eigen/src/Core/DenseBase.h +++ b/Eigen/src/Core/DenseBase.h @@ -574,7 +574,8 @@ template<typename Derived> class DenseBase template<typename RowIndices, typename ColIndices> typename internal::enable_if< - internal::traits<typename IndexedViewType<RowIndices,ColIndices>::type>::IsBlockAlike, + internal::traits<typename IndexedViewType<RowIndices,ColIndices>::type>::IsBlockAlike + && !(internal::is_integral<RowIndices>::value && internal::is_integral<ColIndices>::value), typename internal::traits<typename IndexedViewType<RowIndices,ColIndices>::type>::BlockType>::type operator()(const RowIndices& rowIndices, const ColIndices& colIndices) const { typedef typename internal::traits<typename IndexedViewType<RowIndices,ColIndices>::type>::BlockType BlockType; |