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

IJulia array size limit when looping over 2d array? #406

Closed
evanmason opened this issue Feb 11, 2016 · 5 comments
Closed

IJulia array size limit when looping over 2d array? #406

evanmason opened this issue Feb 11, 2016 · 5 comments

Comments

@evanmason
Copy link

Hi, when working in IJulia (v1.1.8, Linux machine) I find that the following code prints the iteration output and then hangs and I have to restart the kernel:

mask = zeros(Float64, (80, 15))
for iter in CartesianRange(size(mask))
    @show iter.I[1], iter.I[2], mask[iter.I[1], iter.I[2]]
end

If I make the size of mask a little smaller (say 80, 10), it works fine.

At the REPL I can use any size for mask without any problem.

I'm not sure if this is a bug or a particularity of my environment. Can this behaviour be replicated?

Thanks, Evan

@evanmason
Copy link
Author

I see the same behaviour on Mac OS El Capitan.

@stevengj
Copy link
Member

Probably a duplicate of #243.

@JobJob
Copy link
Contributor

JobJob commented Feb 11, 2016

Think it's more likely a dup of #372

It works for me with the IO changes on master (but not on v1.18), @evanmason does Pkg.checkout("IJulia") then restarting the kernel fix it for you?

@stevengj could be an idea to tag a new version?

@evanmason
Copy link
Author

Yes, it now works. Thanks very much for that, Evan

@stevengj
Copy link
Member

Could be worth tagging a new version.

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

3 participants