-
Notifications
You must be signed in to change notification settings - Fork 25
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
Errors with BigFloat boundaries #60
Comments
If you want to do 1d That being said, I agree that this should work (even if it is suboptimal). Maybe we can make use of JuliaArrays/StaticArrays.jl#799 |
The actual integral I need to solve is 2d, I only simplified it for the MWE. Do you mean for example, in line 67 of HCubature.jl, declare |
Yes. julia> a = SA[1,2,3]
3-element SVector{3, Int64} with indices SOneTo(3):
1
2
3
julia> ma = similar(a)
3-element MVector{3, Int64} with indices SOneTo(3):
4537519120
167772160
0
julia> a = SA[big(1),2,3]
3-element SVector{3, BigInt} with indices SOneTo(3):
1
2
3
julia> ma = similar(a)
3-element SizedVector{3, BigInt, Vector{BigInt}} with indices SOneTo(3):
#undef
#undef
#undef |
Sorry, not |
The annoyance here is that It seems like StaticArrays.jl should ideally implement a specialized But for now |
But if this is the only place then I'm sure there will be no difference in performance. Looking around a bit, line 15 of I can give it a try tomorrow; to see if I can fix it and benchmark it. Can you suggest a test case for benchmarking? |
The following function errors when I call it as
erf(BigFloat)
. It should work, no? It doesn't complain if I call it with other funny types that are neverthelessisbits
.The text was updated successfully, but these errors were encountered: