Skip to content

Commit 90fc351

Browse files
chore: check convert method instead
1 parent 9ff91bb commit 90fc351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArrayInterface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ ensures_sorted(T::Type) = is_forwarding_wrapper(T) ? ensures_sorted(parent_type(
10011001
ensures_sorted(@nospecialize(x)) = ensures_sorted(typeof(x))
10021002

10031003
function has_trivial_array_contstructor(::Type{T}, args...) where T
1004-
applicable(T, args...)
1004+
applicable(convert, T, args...)
10051005
end
10061006

10071007
end # module

0 commit comments

Comments
 (0)