Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ambiguities found by Aqua #647

Merged
merged 3 commits into from
May 9, 2024
Merged

Fix ambiguities found by Aqua #647

merged 3 commits into from
May 9, 2024

Conversation

odow
Copy link
Member

@odow odow commented May 9, 2024

Closes #639

Copy link

codecov bot commented May 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.87%. Comparing base (e85899b) to head (0e7194d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #647   +/-   ##
=======================================
  Coverage   97.86%   97.87%           
=======================================
  Files          88       88           
  Lines        5116     5120    +4     
=======================================
+ Hits         5007     5011    +4     
  Misses        109      109           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@odow odow merged commit 16c4fe5 into master May 9, 2024
10 checks passed
@odow odow deleted the od/ambiguity branch May 9, 2024 02:40
@@ -127,3 +127,7 @@ function Base.getindex(x::VcatAtom, inds::AbstractVector{<:Real})
remaining = VcatAtom(keep_children...)
return IndexAtom(remaining, inds)
end

function Base.getindex(x::VcatAtom, inds::AbstractVector{Bool})
return getindex(x, first.(filter!(last, collect(enumerate(inds)))))
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this is just findall btw

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

Successfully merging this pull request may close these issues.

Fix Aqua ambiguities
2 participants