Skip to content
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

Let TMJets work with linear IVPs #79

Closed
mforets opened this issue Apr 2, 2020 · 0 comments · Fixed by #80
Closed

Let TMJets work with linear IVPs #79

mforets opened this issue Apr 2, 2020 · 0 comments · Fixed by #80
Assignees

Comments

@mforets
Copy link
Member

mforets commented Apr 2, 2020

prob = @ivp(x' = rand(2, 2)*x, x(0)  rand(Hyperrectangle))
solve(prob, T=1.0, TMJets())

MethodError: no method matching jetcoeffs!(::ReachabilityAnalysis.VectorField{ReachabilityAnalysis.var"#35#39"}, ::Taylor1{Float64}, ::Array{Taylor1{TaylorN{Float64}},1}, ::Array{Taylor1{TaylorN{Float64}},1}, ::Array{Taylor1{TaylorN{Float64}},1}, ::Nothing)
Closest candidates are:
  jetcoeffs!(!Matched::Function, ::Taylor1{T}, ::AbstractArray{Taylor1{U},1}, ::AbstractArray{Taylor1{U},1}, ::AbstractArray{Taylor1{U},1}, ::Any) where {T<:Real, U<:Number} at /home/mforets/.julia/packages/TaylorIntegration/KHxcX/src/explicitode.jl:66
  jetcoeffs!(!Matched::Function, ::Taylor1{T}, !Matched::Taylor1{U}, ::Any) where {T<:Real, U<:Number} at /home/mforets/.julia/packages/TaylorIntegration/KHxcX/src/explicitode.jl:25

Stacktrace:
 [1] __jetcoeffs! at /home/mforets/.julia/packages/TaylorIntegration/KHxcX/src/explicitode.jl:101 [inlined]
 [2] taylorstep!(::ReachabilityAnalysis.VectorField{ReachabilityAnalysis.var"#35#39"}, ::Taylor1{Float64}, ::Array{Taylor1{TaylorN{Float64}},1}, ::Array{Taylor1{TaylorN{Float64}},1}, ::Array{Taylor1{TaylorN{Float64}},1}, ::Float64, ::Nothing, ::Bool) at /home/mforets/.julia/packages/TaylorIntegration/KHxcX/src/explicitode.jl:237
 [3] validated_step!(::ReachabilityAnalysis.VectorField{ReachabilityAnalysis.var"#35#39"}, ::Taylor1{Float64}, ::Array{Taylor1{TaylorN{Float64}},1}, ::Array{Taylor1{TaylorN{Float64}},1}, ::Array{Taylor1{TaylorN{Float64}},1}, ::Taylor1{Float64}, ::Array{Taylor1{IntervalArithmetic.Interval{Float64}},1}, ::Array{Taylor1{IntervalArithmetic.Interval{Float64}},1}, ::Array{Taylor1{IntervalArithmetic.Interval{Float64}},1}, ::Float64, ::Float64, ::Int64, ::Array{TaylorModels.TaylorModelN{2,Float64,Float64},1}, ::Array{IntervalBox{2,Float64},1}, ::Array{IntervalArithmetic.Interval{Float64},1}, ::IntervalBox{2,Float64}, ::IntervalBox{2,Float64}, ::Int64, ::Int64, ::Float64, ::Nothing, ::Bool, ::ReachabilityAnalysis.var"#113#115") at /home/mforets/.julia/dev/ReachabilityAnalysis/src/Algorithms/TMJets/validated_integ.jl:365
 [4] validated_integ!(::Array{TaylorModelReachSet{Float64},1}, ::ReachabilityAnalysis.VectorField{ReachabilityAnalysis.var"#35#39"}, ::Array{Float64,1}, ::IntervalBox{2,Float64}, ::Float64, ::Float64, ::Int64, ::Int64, ::Float64, ::Int64, ::Nothing; parse_eqs::Bool, check_property::Function) at /home/mforets/.julia/dev/ReachabilityAnalysis/src/Algorithms/TMJets/validated_integ.jl:492
 [5] validated_integ! at /home/mforets/.julia/dev/ReachabilityAnalysis/src/Algorithms/TMJets/validated_integ.jl:431 [inlined] (repeats 2 times)
 [6] post(::TMJets{Float64}, ::InitialValueProblem{LinearContinuousSystem{Float64,Array{Float64,2}},Hyperrectangle{Float64,Array{Float64,1},Array{Float64,1}}}, ::IntervalArithmetic.Interval{Float64}; kwargs::Base.Iterators.Pairs{Symbol,Float64,Tuple{Symbol},NamedTuple{(:T,),Tuple{Float64}}}) at /home/mforets/.julia/dev/ReachabilityAnalysis/src/Algorithms/TMJets/post.jl:27
 [7] solve(::InitialValueProblem{LinearContinuousSystem{Float64,Array{Float64,2}},Hyperrectangle{Float64,Array{Float64,1},Array{Float64,1}}}, ::TMJets{Float64}; kwargs::Base.Iterators.Pairs{Symbol,Float64,Tuple{Symbol},NamedTuple{(:T,),Tuple{Float64}}}) at /home/mforets/.julia/dev/ReachabilityAnalysis/src/Continuous/solve.jl:34
 [8] top-level scope at In[16]:2
@mforets mforets self-assigned this Apr 2, 2020
mforets added a commit that referenced this issue Apr 2, 2020
#79 - Update IVPs interface for TMJets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant