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 indexing issues #175 and #174 #180

Merged
merged 2 commits into from
Feb 14, 2023

Conversation

nrontsis
Copy link
Contributor

As described in the title, this PR fixes tow indexing issues (#175 and #174) and adds associated tests.

Note: When indexing with zero a zero length tuple or vector of symbols a vector instead of a componentvector is returned which I find inconsistent. I didn't opt to address this in this PR, as I that it is a result of more fundamental choices regarding _getindex and the handling of ComponentVectors with flat axes only. I plan to open a separate issue to discuss these.

@nrontsis nrontsis changed the title Fixes indexing issues for #175 and #174 Fix indexing issues #175 and #174 Dec 26, 2022
@codecov-commenter
Copy link

codecov-commenter commented Jan 1, 2023

Codecov Report

Merging #180 (78fe668) into master (cd03d57) will increase coverage by 0.07%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #180      +/-   ##
==========================================
+ Coverage   73.56%   73.64%   +0.07%     
==========================================
  Files          20       20              
  Lines         681      683       +2     
==========================================
+ Hits          501      503       +2     
  Misses        180      180              
Impacted Files Coverage Δ
src/array_interface.jl 83.50% <100.00%> (+0.34%) ⬆️
src/axis.jl 85.71% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@nrontsis
Copy link
Contributor Author

Bump

Copy link
Owner

@jonniedie jonniedie left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks for these!

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.

None yet

3 participants