Skip to content

Conversation

@devmotion
Copy link
Contributor

@devmotion devmotion commented Sep 5, 2025

Builds on #256 and adds tests with Aqua. To make them pass, it was necessary to fix a handful of method ambiguity errors.

Edit: It seems there are additional ambiguity errors on Julia < 1.11.

Comment on lines +443 to +450
# Fix method ambiguities
for T in (:DArray, :SubDArray)
@eval begin
Base.:(==)(d1::$T{<:Any,1}, d2::SparseArrays.ReadOnly) = d1 == parent(d2)
Base.:(==)(d1::SparseArrays.ReadOnly, d2::$T{<:Any,1}) = parent(d1) == d2
end
end

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These definitions need to be moved to the extension now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants