-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Array{Int}() gives strange result #11180
Comments
Did you read the two issues that that commit closed? What would you suggest? |
I did. But I'm not quite sure what the |
Sorry, I just had the epiphany that a zero-dimensional array is a scalar, and this is simply an uninitialized scalar. I guess this will be "fixed" by #9147 if that is implemented as planned. |
But as a new user, I would find the current behavior rather confusing. |
Closing it as a dupe of #9147. |
As noticed here,
Array{Int}()
fails on julia 0.3:but leads to a rather weird result on
master
:This behavioral change was introduced in 23a6995.
The text was updated successfully, but these errors were encountered: