-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support for 0d ndarrays #9
Comments
Hmm… I can see the argument either way. The amount of data is defined as the product of the size of the dimensions. So a shape of So maybe it's that it should do nothing and exit early. |
Yeah, I think this is a bug in cwise. Should open an issue there as well. |
I've made a fix: scijs/cwise-compiler#4 |
@rreusser correct, but not strictly correct. Size of array is |
This doesn't seem to work with 0d ndarrays:
Throws "SyntaxError: Unexpected token |="
It looks like cwise-compiler (maybe this is a bug which should be filed there instead) is assembling some code which includes a
var
statement with no argument (i.e. "var \n a |= 0").The text was updated successfully, but these errors were encountered: