From e63678bc8969e76f0a767f0abf9a42f2a89c2d2a Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 10 Jan 2017 16:33:40 +0100 Subject: [PATCH] Fix ambiguous call --- Eigen/src/Core/DenseBase.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 class DenseBase template typename internal::enable_if< - internal::traits::type>::IsBlockAlike, + internal::traits::type>::IsBlockAlike + && !(internal::is_integral::value && internal::is_integral::value), typename internal::traits::type>::BlockType>::type operator()(const RowIndices& rowIndices, const ColIndices& colIndices) const { typedef typename internal::traits::type>::BlockType BlockType;