Skip to content

Commit 9e4a35f

Browse files
committed
Add Base module identifier to length(::SymArray) method
1 parent e8316e8 commit 9e4a35f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arrays.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ function eltype(A::Union{Arr, SymArray})
548548
return T
549549
end
550550

551-
function length(A::Union{Arr, SymArray})
551+
function Base.length(A::Union{Arr, SymArray})
552552
s = shape(unwrap(A))
553553
s === Unknown() && error("length of $A not known")
554554
return prod(length, s)

0 commit comments

Comments
 (0)