Skip to content

Commit 9d5e7be

Browse files
jac_prototype
1 parent 97f7020 commit 9d5e7be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/maketype.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ function maketype(name,param_dict,origex,funcs,syms,fex;
2929
invW_t::Wt
3030
paramjac::PJ
3131
mass_matrix::LinearAlgebra.UniformScaling{Bool}
32+
jac_prototype::Nothing
3233
origex::Expr
3334
funcs::Vector{Expr}
3435
pfuncs::Vector{Expr}
@@ -71,7 +72,7 @@ function maketype(name,param_dict,origex,funcs,syms,fex;
7172
constructorex = :($(name)() =
7273
$(name)($f_expr,nothing,
7374
$jac_expr,$tgrad_expr,$invW_expr,$invW_t_expr,$param_jac_expr,
74-
$(LinearAlgebra.I),$new_ex,$funcs,$pfuncs,$d_pfuncs,
75+
$(LinearAlgebra.I),nothing,$new_ex,$funcs,$pfuncs,$d_pfuncs,
7576
$syms,$symjac,$symtgrad,
7677
$tgradex_ex,$Jex_ex,$expJex_ex,$param_Jex_ex,
7778
$invJex_ex,$invWex_ex,$invWex_t_ex,

0 commit comments

Comments
 (0)