Skip to content

Commit bd6c44b

Browse files
Fix type-stability of mass matrix
1 parent a8da671 commit bd6c44b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ode_def_opts.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function ode_def_opts(name::Symbol,opts::Dict{Symbol,Bool},curmod,ex::Expr,param
128128
quote
129129
struct $name{F,TG,TJ,TW,TWt,S} <: ParameterizedFunctions.DiffEqBase.AbstractParameterizedFunction{true}
130130
f::F
131-
mass_matrix::ParameterizedFunctions.LinearAlgebra.UniformScaling
131+
mass_matrix::ParameterizedFunctions.LinearAlgebra.UniformScaling{Bool}
132132
analytic::Nothing
133133
tgrad::TG
134134
jac::TJ

0 commit comments

Comments
 (0)