Skip to content

Commit

Permalink
properly add == method
Browse files Browse the repository at this point in the history
  • Loading branch information
nsajko authored and giordano committed Jan 5, 2025
1 parent b50c88f commit 7c49043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FixedSizeBitArray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function Base.fill!(B::FixedSizeBitArray, x)
return B

Check warning on line 72 in src/FixedSizeBitArray.jl

View check run for this annotation

Codecov / codecov/patch

src/FixedSizeBitArray.jl#L72

Added line #L72 was not covered by tests
end

function (==)(A::FixedSizeBitArray, B::FixedSizeBitArray)
function Base.:(==)(A::FixedSizeBitArray, B::FixedSizeBitArray)
size(A) != size(B) && return false
return A.chunks == B.chunks

Check warning on line 77 in src/FixedSizeBitArray.jl

View check run for this annotation

Codecov / codecov/patch

src/FixedSizeBitArray.jl#L75-L77

Added lines #L75 - L77 were not covered by tests
end

0 comments on commit 7c49043

Please sign in to comment.