You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Integrals, ForwardDiff, FiniteDiff, Zygote, Cuba
f(x,p) = sum(sin.(x .* p))
lb = ones(2)
ub = 3ones(2)
p = [1.5,2.0]
prob = IntegralProblem(f,lb,ub,p)
solve(prob,VEGAS(),reltol=1e-6,abstol=1e-6,maxiters =1000)[1]
errors with
ERROR: MethodError: no method matching iterate(::MonteCarloIntegration.VEGASResult{Float64, Float64, Float64, Matrix{Float64}, Matrix{Float64}})
however it works for [email protected].
We probably have to fix/revert commit 68ae9d6 from #189.
The tests didn't catch this because they opt out of VEGAS, which probably needs to change.
The following mwe (taken from #46)
errors with
however it works for [email protected].
We probably have to fix/revert commit 68ae9d6 from #189.
The tests didn't catch this because they opt out of VEGAS, which probably needs to change.
We could also look into replacing the package with the more capable https://github.com/numericalEFT/MCIntegration.jl.
The text was updated successfully, but these errors were encountered: