Skip to content

Commit

Permalink
Fix is_blas_array trait
Browse files Browse the repository at this point in the history
Current implementation was just always returning false :-/
  • Loading branch information
serge-sans-paille committed Aug 31, 2024
1 parent 7364613 commit a7f4026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pythran/pythonic/include/numpy/dot.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct is_blas_array {
// FIXME: also support gexpr with stride?
static constexpr bool value =
pythonic::types::is_array<E>::value &&
is_blas_type<pythonic::types::dtype_of<E>>::value &&
is_blas_type<typename pythonic::types::dtype_of<E>::type>::value &&
!is_strided<E>::value;
};

Expand Down

0 comments on commit a7f4026

Please sign in to comment.