-
Notifications
You must be signed in to change notification settings - Fork 53
Remove element access operators for integer-based vector interface #1372
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
Remove element access operators for integer-based vector interface #1372
Conversation
for integer-based linalg vector.
d4d1253
to
3114727
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why you had to add the new Map
constructor, but I guess it isn't wrong either. However, if you still want to add it, please address this comment.
and replaces get_values with get_local_values.
3114727
to
f8af629
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good. I like how simple the implementation turned out to be.
Description and Context
Removes the element access operators from the class
class Vector<int>
and substitutes it either byget_values()
orlocal_values_as_span()
.Related Issues and Pull Requests
Related to #1121