Skip to content

Commit 5e51bca

Browse files
committed
Fix ambiguity in scalar_type_finder for tensor maps
1 parent 1b30505 commit 5e51bca

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Fastor/tensor/TensorTraits.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ template<typename T, size_t N>
3636
struct scalar_type_finder<Tensor<T,N>> {
3737
using type = T;
3838
};
39-
4039
template<typename T, size_t ... Rest>
4140
struct scalar_type_finder<TensorMap<T,Rest...>> {
4241
using type = T;
@@ -88,7 +87,6 @@ template<typename T, size_t N>
8887
struct tensor_type_finder<Tensor<T,N>> {
8988
using type = Tensor<T,N>;
9089
};
91-
9290
template<typename T, size_t ... Rest>
9391
struct tensor_type_finder<TensorMap<T,Rest...>> {
9492
using type = Tensor<T,Rest...>;

0 commit comments

Comments
 (0)