Skip to content

zeros(axis1, axis2) should raise an error #203

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

Closed
gdementen opened this issue Apr 4, 2017 · 0 comments · Fixed by #220
Closed

zeros(axis1, axis2) should raise an error #203

gdementen opened this issue Apr 4, 2017 · 0 comments · Fixed by #220

Comments

@gdementen
Copy link
Contributor

Other creation functions (ones, ndrange, ...) are also affected obviously.

>>> a = Axis('a', 'a0..a1')
>>> b = Axis('b', 'b0..b2')
>>> zeros(a, b)
a |  a0 |  a1
  | 0.0 | 0.0
>>> zeros((a, b))
a\b |  b0 |  b1 |  b2
 a0 | 0.0 | 0.0 | 0.0
 a1 | 0.0 | 0.0 | 0.0
alixdamman added a commit to alixdamman/larray that referenced this issue Apr 13, 2017
…d as func(axis1, axis2, ...) instead of func([axis1, axis2], ...)
alixdamman added a commit to alixdamman/larray that referenced this issue Apr 13, 2017
…d as func(axis1, axis2, ...) instead of func([axis1, axis2], ...)
alixdamman added a commit to alixdamman/larray that referenced this issue Apr 18, 2017
…d as func(axis1, axis2, ...) instead of func([axis1, axis2], ...)
alixdamman added a commit to alixdamman/larray that referenced this issue Apr 18, 2017
…d as func(axis1, axis2, ...) instead of func([axis1, axis2], ...)
gdementen pushed a commit that referenced this issue Apr 24, 2017
…1, axis2, ...) instead of func([axis1, axis2], ...)
gdementen pushed a commit that referenced this issue Aug 31, 2018
…1, axis2, ...) instead of func([axis1, axis2], ...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants