Skip to content

Commit

Permalink
Add Base module identifier to length(::SymArray) method
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenszhu committed Sep 29, 2024
1 parent e8316e8 commit 9e4a35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ function eltype(A::Union{Arr, SymArray})
return T
end

function length(A::Union{Arr, SymArray})
function Base.length(A::Union{Arr, SymArray})
s = shape(unwrap(A))
s === Unknown() && error("length of $A not known")
return prod(length, s)
Expand Down

0 comments on commit 9e4a35f

Please sign in to comment.