Skip to content

Commit e2251af

Browse files
refactor: remove dead code
1 parent b52ecc2 commit e2251af

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/systems/parameter_buffer.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -760,12 +760,6 @@ function jacobian_wrt_vars(pf::F, p::MTKParameters, input_idxs, chunk::C) where
760760
ForwardDiff.jacobian(p_closure, p_small, cfg, Val(false))
761761
end
762762

763-
function as_duals(p::MTKParameters, dualtype)
764-
tunable = dualtype.(p.tunable)
765-
discrete = dualtype.(p.discrete)
766-
return MTKParameters{typeof(tunable), typeof(discrete)}(tunable, discrete)
767-
end
768-
769763
const MISSING_PARAMETERS_MESSAGE = """
770764
Some parameters are missing from the variable map.
771765
Please provide a value or default for the following variables:

0 commit comments

Comments
 (0)