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 accessors #10

Open
HugoGranstrom opened this issue Jan 22, 2021 · 1 comment
Open

Fix accessors #10

HugoGranstrom opened this issue Jan 22, 2021 · 1 comment

Comments

@HugoGranstrom
Copy link
Member

Right now there are a few tests in https://github.com/SciNim/flambeau/blob/master/tests/arraymancerTestSuite/tensor/test_accessors.nim that fail. Most notably:

  • No bounds-checking
  • Expression like a[1, 1] += 10 isn't possible because a[1, 1] is immutable.
@HugoGranstrom
Copy link
Member Author

Added the slicer test as well: https://github.com/SciNim/flambeau/blob/master/tests/arraymancerTestSuite/tensor/test_accessors_slicer.nim
And there are not many tests that work. Seems like the more advanced slices doesn't work really like _ and ^.

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

No branches or pull requests

1 participant