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

Added accessors for xrange_adaptor members. Made internal methods static and private. #1401

Merged
merged 1 commit into from Feb 12, 2019

Conversation

papadop
Copy link
Contributor

@papadop papadop commented Feb 12, 2019

See issue #1397.
The primary goal of the patch is to add accessors to the 3 members of xrange_adaptor.
A a collateral "damage", I also converted the normalize and get_stepped_range as static private methods. All tests passed:
[==========] 879 tests from 71 test cases ran. (88 ms total)
[ PASSED ] 879 tests.
xtensor-blas tested too.
This is the other possible replacement for PR #1399, whithout any const.
I'm letting you choose which version you prefer !!!

@SylvainCorlay
Copy link
Member

👍

@SylvainCorlay SylvainCorlay merged commit edfafe7 into xtensor-stack:master Feb 12, 2019
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

2 participants