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

ntuple(n::Integer,f::Function) is deprecated #9

Closed
hackjackhack opened this issue Jun 7, 2015 · 3 comments
Closed

ntuple(n::Integer,f::Function) is deprecated #9

hackjackhack opened this issue Jun 7, 2015 · 3 comments

Comments

@hackjackhack
Copy link

Running on Julia Version 0.4.0-dev+5236 (Commit 01abdc3*), options.jl gives the following warning:

WARNING: ntuple(n::Integer,f::Function) is deprecated, use ntuple(f,n) instead.

@nalimilan
Copy link
Member

Thanks for the report. This should be quite easy to fix, by simply swapping n and f. Would you prepare a pull request for this? You can even make the change online on GitHub. To find where the warning comes from, just have a look at the bracktrace.

@ivarne
Copy link

ivarne commented Jul 20, 2015

Was this fixed by #11?
Cc @lostanlen

@lostanlen
Copy link
Contributor

Yes, since with #11 ntuple is no longer called in latest master. The issue can be closed.

@ivarne ivarne closed this as completed Jul 20, 2015
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

4 participants