-
-
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
Stack overflow in Nightly 0.3 #6147
Comments
This is because you do not need the extra constructor anymore. Ref: #4026 |
Thanks for answer. But then it will not work in Julia 0.2. Is there any simple way to determine Julia version programmatically? |
if VERSION.major == 0 && VERSION.minor == 2
Pixel(r,g,b) = Pixel(uint8(r),uint8(g),uint8(b))
end |
Another "real-life" example: |
Such obvious name :) Thanks, Ivar, Iain. |
Extra tip: versions are more easily and correctly compared like this:
The
To get only stable 0.2 versions:
Note that
and so on. |
Thanks Carlo, your answer deserve to be mentioned in documentation. Maybe on FAQ? |
I'm getting stack overflow in latest Windows nightly (Version 0.3.0-prerelease+1864 (2014-03-06 05:43 UTC)):
Julia output:
The text was updated successfully, but these errors were encountered: