Skip to content

Commit

Permalink
simplify Tether_07.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Aug 29, 2024
1 parent 0c889ca commit 8728ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tether_07.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function model(se)
damping ~ se.damping / (length/se.segments)]
eqs2 = vcat(eqs2, reduce(vcat, eqs))

@named sys = ODESystem(Symbolics.scalarize.(reduce(vcat, Symbolics.scalarize.(eqs2))), t)
@named sys = ODESystem(reduce(vcat, Symbolics.scalarize.(eqs2)), t)
simple_sys = structural_simplify(sys)
simple_sys, pos, vel, length, c_spr
end
Expand Down

0 comments on commit 8728ec2

Please sign in to comment.