ERROR: MethodError: Cannot `convert` an object of type
ArrayPartition{Float64{},Tuple{SVector{2, Float64},Array{Float64{},2},Array{Float64{},1}}} to an object of type
ArrayPartition{Float64{},Tuple{Vector{Float64},Array{Float64{},2},Array{Float64{},1}}}
Closest candidates are:
convert(::Type{T}, ::Intervals.Interval{T, L, R} where {L<:Intervals.Bound, R<:Intervals.Bound}) where T at /Users/smoritz/.julia/packages/Intervals/ua9cq/src/interval.jl:253
convert(::Type{T}, ::Intervals.AnchoredInterval{P, T, L, R} where {L<:Intervals.Bounded, R<:Intervals.Bounded}) where {P, T} at /Users/smoritz/.julia/packages/Intervals/ua9cq/src/anchoredinterval.jl:181
convert(::Type{T}, ::Factorization) where T<:AbstractArray at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/LinearAlgebra/src/factorization.jl:58
...
Stacktrace:
[1] setproperty!(x::OrdinaryDiffEq.ODEIntegrator{Euler, false, ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}, Nothing, Float64, Tuple{Matrix{Float64}, SVector{2, Float64}, Diagonal{Float64, SVector{2, Float64}}}, Float64, Float64, Float64, Vector{ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}}, ODESolution{Float64, 2, Vector{ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}}, Nothing, Nothing, Vector{Float64}, Vector{Vector{ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}}}, ODEProblem{ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}, Tuple{Float64, Float64}, false, Tuple{Matrix{Float64}, SVector{2, Float64}, Diagonal{Float64, SVector{2, Float64}}}, ODEFunction{false, typeof(MitosisStochasticDiffEq.CovarianceFilterODE), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing}, Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, SciMLBase.StandardODEProblem}, Euler, OrdinaryDiffEq.InterpolationData{ODEFunction{false, typeof(MitosisStochasticDiffEq.CovarianceFilterODE), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing}, Vector{ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}}, Vector{Float64}, Vector{Vector{ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}}}, OrdinaryDiffEq.EulerConstantCache}, DiffEqBase.DEStats}, ODEFunction{false, typeof(MitosisStochasticDiffEq.CovarianceFilterODE), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing}, OrdinaryDiffEq.EulerConstantCache, OrdinaryDiffEq.DEOptions{Float64, Float64, Float64, Float64, typeof(DiffEqBase.ODE_DEFAULT_NORM), typeof(opnorm), Nothing, CallbackSet{Tuple{}, Tuple{}}, typeof(DiffEqBase.ODE_DEFAULT_ISOUTOFDOMAIN), typeof(DiffEqBase.ODE_DEFAULT_PROG_MESSAGE), typeof(DiffEqBase.ODE_DEFAULT_UNSTABLE_CHECK), DataStructures.BinaryMinHeap{Float64}, DataStructures.BinaryMinHeap{Float64}, Nothing, Nothing, Int64, StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}}, Tuple{}, Tuple{}}, ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}, Float64, Nothing, OrdinaryDiffEq.DefaultInit}, f::Symbol, v::ArrayPartition{Float64, Tuple{SVector{2, Float64}, Matrix{Float64}, Vector{Float64}}})
@ Base ./Base.jl:34
[2] initialize!(integrator::OrdinaryDiffEq.ODEIntegrator{Euler, false, ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}, Nothing, Float64, Tuple{Matrix{Float64}, SVector{2, Float64}, Diagonal{Float64, SVector{2, Float64}}}, Float64, Float64, Float64, Vector{ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}}, ODESolution{Float64, 2, Vector{ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}}, Nothing, Nothing, Vector{Float64}, Vector{Vector{ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}}}, ODEProblem{ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}, Tuple{Float64, Float64}, false, Tuple{Matrix{Float64}, SVector{2, Float64}, Diagonal{Float64, SVector{2, Float64}}}, ODEFunction{false, typeof(MitosisStochasticDiffEq.CovarianceFilterODE), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing}, Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, SciMLBase.StandardODEProblem}, Euler, OrdinaryDiffEq.InterpolationData{ODEFunction{false, typeof(MitosisStochasticDiffEq.CovarianceFilterODE), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing}, Vector{ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}}, Vector{Float64}, Vector{Vector{ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}}}, OrdinaryDiffEq.EulerConstantCache}, DiffEqBase.DEStats}, ODEFunction{false, typeof(MitosisStochasticDiffEq.CovarianceFilterODE), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing}, OrdinaryDiffEq.EulerConstantCache, OrdinaryDiffEq.DEOptions{Float64, Float64, Float64, Float64, typeof(DiffEqBase.ODE_DEFAULT_NORM), typeof(opnorm), Nothing, CallbackSet{Tuple{}, Tuple{}}, typeof(DiffEqBase.ODE_DEFAULT_ISOUTOFDOMAIN), typeof(DiffEqBase.ODE_DEFAULT_PROG_MESSAGE), typeof(DiffEqBase.ODE_DEFAULT_UNSTABLE_CHECK), DataStructures.BinaryMinHeap{Float64}, DataStructures.BinaryMinHeap{Float64}, Nothing, Nothing, Int64, StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}}, Tuple{}, Tuple{}}, ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}, Float64, Nothing, OrdinaryDiffEq.DefaultInit}, cache::OrdinaryDiffEq.EulerConstantCache)
@ OrdinaryDiffEq ~/.julia/packages/OrdinaryDiffEq/5egkj/src/perform_step/fixed_timestep_perform_step.jl:47
[3] __init(prob::ODEProblem{ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}, Tuple{Float64, Float64}, false, Tuple{Matrix{Float64}, SVector{2, Float64}, Diagonal{Float64, SVector{2, Float64}}}, ODEFunction{false, typeof(MitosisStochasticDiffEq.CovarianceFilterODE), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing}, Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, SciMLBase.StandardODEProblem}, alg::Euler, timeseries_init::Tuple{}, ts_init::Tuple{}, ks_init::Tuple{}, recompile::Type{Val{true}}; saveat::Tuple{}, tstops::StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}}, d_discontinuities::Tuple{}, save_idxs::Nothing, save_everystep::Bool, save_on::Bool, save_start::Bool, save_end::Nothing, callback::Nothing, dense::Bool, calck::Bool, dt::Float64, dtmin::Nothing, dtmax::Float64, force_dtmin::Bool, adaptive::Bool, gamma::Int64, abstol::Float64, reltol::Float64, qmin::Int64, qmax::Int64, qsteady_min::Int64, qsteady_max::Int64, qoldinit::Int64, fullnormalize::Bool, failfactor::Int64, beta1::Nothing, beta2::Nothing, maxiters::Int64, internalnorm::typeof(DiffEqBase.ODE_DEFAULT_NORM), internalopnorm::typeof(opnorm), isoutofdomain::typeof(DiffEqBase.ODE_DEFAULT_ISOUTOFDOMAIN), unstable_check::typeof(DiffEqBase.ODE_DEFAULT_UNSTABLE_CHECK), verbose::Bool, timeseries_errors::Bool, dense_errors::Bool, advance_to_tstop::Bool, stop_at_next_tstop::Bool, initialize_save::Bool, progress::Bool, progress_steps::Int64, progress_name::String, progress_message::typeof(DiffEqBase.ODE_DEFAULT_PROG_MESSAGE), userdata::Nothing, allow_extrapolation::Bool, initialize_integrator::Bool, alias_u0::Bool, alias_du0::Bool, initializealg::OrdinaryDiffEq.DefaultInit, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ OrdinaryDiffEq ~/.julia/packages/OrdinaryDiffEq/5egkj/src/solve.jl:433
[4] #__solve#404
@ ~/.julia/packages/OrdinaryDiffEq/5egkj/src/solve.jl:4 [inlined]
[5] #solve_call#56
@ ~/.julia/packages/DiffEqBase/qntkj/src/solve.jl:61 [inlined]
[6] solve_up(prob::ODEProblem{ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}, Tuple{Float64, Float64}, false, Tuple{Matrix{Float64}, SVector{2, Float64}, Diagonal{Float64, SVector{2, Float64}}}, ODEFunction{false, typeof(MitosisStochasticDiffEq.CovarianceFilterODE), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing}, Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, SciMLBase.StandardODEProblem}, sensealg::Nothing, u0::ArrayPartition{Float64, Tuple{Vector{Float64}, Matrix{Float64}, Vector{Float64}}}, p::Tuple{Matrix{Float64}, SVector{2, Float64}, Diagonal{Float64, SVector{2, Float64}}}, args::Euler; kwargs::Base.Iterators.Pairs{Symbol, Any, Tuple{Symbol, Symbol, Symbol}, NamedTuple{(:tstops, :abstol, :reltol), Tuple{StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}}, Float64, Float64}}})
@ DiffEqBase ~/.julia/packages/DiffEqBase/qntkj/src/solve.jl:82
[7] #solve#57
@ ~/.julia/packages/DiffEqBase/qntkj/src/solve.jl:70 [inlined]
[8] _backwardfilter(filter::MitosisStochasticDiffEq.CovarianceFilter, k::MitosisStochasticDiffEq.SDEKernel{AffineMap{Matrix{Float64}, SVector{2, Float64}}, ConstantMap{Diagonal{Float64, SVector{2, Float64}}}, StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}}, Tuple{Matrix{Float64}, SVector{2, Float64}, Diagonal{Float64, SVector{2, Float64}}}}, ::Tuple{Float64, Vector{Float64}, Matrix{Float64}}; alg::Euler, inplace::Bool, apply_timechange::Bool, abstol::Float64, reltol::Float64)
@ MitosisStochasticDiffEq ~/.julia/dev/MitosisStochasticDiffEq/src/filter.jl:94
[9] backwardfilter(k::MitosisStochasticDiffEq.SDEKernel{AffineMap{Matrix{Float64}, SVector{2, Float64}}, ConstantMap{Diagonal{Float64, SVector{2, Float64}}}, StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}}, Tuple{Matrix{Float64}, SVector{2, Float64}, Diagonal{Float64, SVector{2, Float64}}}}, p::WGaussian{(:μ, :Σ, :c), Tuple{Vector{Float64}, Matrix{Float64}, Float64}}; filter::MitosisStochasticDiffEq.CovarianceFilter, alg::Euler, inplace::Bool, apply_timechange::Bool, abstol::Float64, reltol::Float64)
@ MitosisStochasticDiffEq ~/.julia/dev/MitosisStochasticDiffEq/src/filter.jl:12
[10] bwfiltertree!(Q::Vector{Union{Missing, WGaussian{(:μ, :Σ, :c), Tuple{Vector{Float64}, Matrix{Float64}, Float64}}}}, tree::Tree{Node{UInt16, NewickData{Float64, String}}, Float64, Int64, UInt16, String}, θlin::Tuple{Matrix{Float64}, SVector{2, Float64}, Diagonal{Float64, SVector{2, Float64}}}, dt0::Float64; apply_time_change::Bool)
@ Main ~/.julia/dev/MitosisStochasticDiffEq/example/phylo3/sdetree.jl:93
[11] bwfiltertree!(Q::Vector{Union{Missing, WGaussian{(:μ, :Σ, :c), Tuple{Vector{Float64}, Matrix{Float64}, Float64}}}}, tree::Tree{Node{UInt16, NewickData{Float64, String}}, Float64, Int64, UInt16, String}, θlin::Tuple{Matrix{Float64}, SVector{2, Float64}, Diagonal{Float64, SVector{2, Float64}}}, dt0::Float64)
@ Main ~/.julia/dev/MitosisStochasticDiffEq/example/phylo3/sdetree.jl:82
[12] mcmc(tree::Tree{Node{UInt16, NewickData{Float64, String}}, Float64, Int64, UInt16, String}, Xd::Vector{SVector{2, Float64}}, f::typeof(f), g::typeof(g), θlin::Tuple{Matrix{Float64}, SVector{2, Float64}, Diagonal{Float64, SVector{2, Float64}}}, θinit::Tuple{Vector{Float64}, SVector{2, Float64}}; ρ::Float64, iters::Int64, dt::Float64, σprop::Float64, precisionatleaves::Float64)
@ Main ~/.julia/dev/MitosisStochasticDiffEq/example/phylo3/phylo_autobffg3.jl:55
[13] top-level scope
@ ~/.julia/dev/MitosisStochasticDiffEq/example/phylo3/phylo_autobffg3.jl:101