Skip to content

Commit

Permalink
Update abstractquasiarray.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
dlfivefifty committed Aug 14, 2023
1 parent 34d09fa commit 4569d0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/abstractquasiarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ function isequal(A::AbstractQuasiArray, B::AbstractQuasiArray)
return true
end

const _equals = equals_layout # TODO: Remove


function equals_layout(_, _, A, B)
if axes(A) != axes(B)
Expand All @@ -519,6 +519,7 @@ function equals_layout(_, _, A, B)
return anymissing ? missing : true
end

const _equals = equals_layout # TODO: Remove

(==)(A::AbstractQuasiArray, B::AbstractQuasiArray) = equals_layout(MemoryLayout(A), MemoryLayout(B), A, B)

Expand Down

0 comments on commit 4569d0e

Please sign in to comment.