I know the issues like this appeared before but have a problem today anyways.
I have just installed LabelledArrays.jl and updated all my packages.
I run the example given in the README of this repo with the only difference:
Tsit5() -> Rodas5()
I see the error:
ERROR: type SArray has no field y
This is my code:
using LabelledArrays
using DifferentialEquations
LorenzVector = @SLVector (:x,:y,:z)
LorenzParameterVector = @SLVector (:σ,:ρ,:β)
function f(u,p,t)
x = p.σ*(u.y-u.x)
y = u.x*(p.ρ-u.z) - u.y
z = u.x*u.y - p.β*u.z
LorenzVector(x,y,z)
end
u0 = LorenzVector(1.0,0.0,0.0)
p = LorenzParameterVector(10.0,28.0,8/3)
tspan = (0.0,10.0)
prob = ODEProblem(f,u0,tspan,p)
sol = solve(prob, Rodas5()) # <- this very guy
Hello all!
I know the issues like this appeared before but have a problem today anyways.
I have just installed
LabelledArrays.jl
and updated all my packages. I run the example given in the README of this repo with the only difference:Tsit5()
->Rodas5()
I see the error:
ERROR: type SArray has no field y
This is my code:
This is my packages: