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: vector.arr should construct NumPy vectors #254

Merged
merged 1 commit into from
Sep 19, 2022

Conversation

Saransh-cpp
Copy link
Member

Currently, all the examples located in vector, as well as the introduction to constructors here - https://github.com/scikit-hep/vector#constructing-a-vector-or-an-array-of-vectors - point to the fact that vector.arr should construct NumPy vectors. This also seems logical (Array -> awk , array -> arr), and is most probably not wrong in the examples.

@Saransh-cpp Saransh-cpp added the bug The problem described is something that must be fixed label Sep 11, 2022
@codecov-commenter
Copy link

codecov-commenter commented Sep 11, 2022

Codecov Report

Base: 81.04% // Head: 81.04% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (e52325f) compared to base (9cd8871).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #254   +/-   ##
=======================================
  Coverage   81.04%   81.04%           
=======================================
  Files          96       96           
  Lines       10623    10624    +1     
=======================================
+ Hits         8609     8610    +1     
  Misses       2014     2014           
Impacted Files Coverage Δ
src/vector/__init__.py 82.92% <100.00%> (+0.42%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Saransh-cpp Saransh-cpp added this to the v1.0.0 milestone Sep 12, 2022
@Saransh-cpp
Copy link
Member Author

Saransh-cpp commented Sep 19, 2022

Will merge this in today! ("can merge small bug fixes without a review" - a small bug fix from developer's perspective, but might break scripts that are using this bug as a feature)

@Saransh-cpp Saransh-cpp merged commit fcc739a into scikit-hep:main Sep 19, 2022
@Saransh-cpp Saransh-cpp deleted the numpy-constr branch September 19, 2022 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The problem described is something that must be fixed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants