-
-
Notifications
You must be signed in to change notification settings - Fork 354
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
InexactError() on windows with the 32bit version, Julia 0.7-dev #968
Comments
Nice to see such quick payback from the new InexactError. @DrKrar, to fix this someone will have to know a lot more about what you did to trigger this error. Can you post an example that one can copy/paste into the REPL? |
Could be the issue fixed in JuliaLang/julia#22644. |
If this is related to #963, then apparently it is triggered by "get an array of tuples of points on a circle with radius `r`"
function partialcircle(start_θ, end_θ, n = 20, r=1)
Tuple{Float64,Float64}[(r*cos(u),r*sin(u)) for u in linspace(start_θ, end_θ, n)]
end Is this fixed in JuliaLang/julia#22644 or does it have to be fixed in Plots? |
I don't have a 32bit machine, so someone else will have to test. I just merged that PR so anyone running 0.7 can just do a It seems likely that it's fixed, and the fix should be backported to 0.6. |
Dear @timholy now all is alright . |
Any idea when this will be backported to 0.6? I keep getting this error on Appveyor/Win32, e.g., https://ci.appveyor.com/project/dpo/benchmarkprofiles-jl/build/1.0.31/job/kci9pba13oi3wwyx#L80. |
The problem as I had figure it out that in
trunc(Int32, 4.107939275e9)
.The number
4.107939275e9
exceeds the maximum of the type Int32 .i do not know the significant of the number or why we should use it so i cant think of a slon.
The text was updated successfully, but these errors were encountered: