mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-21 20:09:06 +08:00
Fix ambiguous call
This commit is contained in:
parent
8e247744a4
commit
e63678bc89
@ -574,7 +574,8 @@ template<typename Derived> class DenseBase
|
|||||||
|
|
||||||
template<typename RowIndices, typename ColIndices>
|
template<typename RowIndices, typename ColIndices>
|
||||||
typename internal::enable_if<
|
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
|
typename internal::traits<typename IndexedViewType<RowIndices,ColIndices>::type>::BlockType>::type
|
||||||
operator()(const RowIndices& rowIndices, const ColIndices& colIndices) const {
|
operator()(const RowIndices& rowIndices, const ColIndices& colIndices) const {
|
||||||
typedef typename internal::traits<typename IndexedViewType<RowIndices,ColIndices>::type>::BlockType BlockType;
|
typedef typename internal::traits<typename IndexedViewType<RowIndices,ColIndices>::type>::BlockType BlockType;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user