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 QuadGKJL() works fine, but all Cuba methods fail with.
using Quadrature, Cubature, Cuba
cost(x,p) =sin(x[1])
qprob =QuadratureProblem(cost,0,π; nout=1, batch=0)
sol =solve(qprob, QuadGKJL(), reltol=1e-3,abstol=1e-3) #OK
sol =solve(qprob, CubaVegas(), reltol=1e-3,abstol=1e-3)
sol =solve(qprob, CubaSUAVE(), reltol=1e-3,abstol=1e-3)
sol =solve(qprob, CubaDivonne(), reltol=1e-3,abstol=1e-3)
sol =solve(qprob, CubaCuhre(), reltol=1e-3,abstol=1e-3)
type QuadratureProblem has no field tspan
getproperty(::QuadratureProblem{false,DiffEqBase.NullParameters,typeof(cost),Int64,Irrational{:π},Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}}, ::Symbol) at Base.jl:33
get_concrete_tspan(::QuadratureProblem{false,DiffEqBase.NullParameters,typeof(cost),Int64,Irrational{:π},Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}}, ::Base.Iterators.Pairs{Symbol,Float64,Tuple{Symbol,Symbol},NamedTuple{(:reltol, :abstol),Tuple{Float64,Float64}}}) at solve.jl:135
get_concrete_problem(::QuadratureProblem{false,DiffEqBase.NullParameters,typeof(cost),Int64,Irrational{:π},Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}}, ::Base.Iterators.Pairs{Symbol,Float64,Tuple{Symbol,Symbol},NamedTuple{(:reltol, :abstol),Tuple{Float64,Float64}}}) at solve.jl:110
solve(::QuadratureProblem{false,DiffEqBase.NullParameters,typeof(cost),Int64,Irrational{:π},Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}}, ::CubaCuhre; kwargs::Base.Iterators.Pairs{Symbol,Float64,Tuple{Symbol,Symbol},NamedTuple{(:reltol, :abstol),Tuple{Float64,Float64}}}) at solve.jl:54
(::DiffEqBase.var"#solve##kw")(::NamedTuple{(:reltol, :abstol),Tuple{Float64,Float64}}, ::typeof(solve), ::QuadratureProblem{false,DiffEqBase.NullParameters,typeof(cost),Int64,Irrational{:π},Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}}, ::CubaCuhre) at solve.jl:54
top-level scope at cuba_vegas.jl:11
The text was updated successfully, but these errors were encountered:
Using
QuadGKJL()
works fine, but all Cuba methods fail with.The text was updated successfully, but these errors were encountered: