Skip to content

Commit 07aac5e

Browse files
fix: ArrayPartition ldiv! method generation in 1.10
1 parent 974fa6f commit 07aac5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array_partition.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ ArrayInterface.zeromatrix(A::ArrayPartition) = ArrayInterface.zeromatrix(Vector(
423423

424424
function __get_subtypes_in_module(mod, supertype; include_supertype = true, all=false, except=[])
425425
return filter([getproperty(mod, name) for name in names(mod; all) if !in(name, except)]) do value
426-
return value isa Type && (value <: supertype) && (include_supertype || value != supertype) && !in(value, except)
426+
return value != Union{} && value isa Type && (value <: supertype) && (include_supertype || value != supertype) && !in(value, except)
427427
end
428428
end
429429

0 commit comments

Comments
 (0)