Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith committed Sep 17, 2024
1 parent cbdc73f commit 783c88a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/interface/wprototype_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ for prob in (prob_ode_vanderpol_stiff,)
update_func = (old_val, u, p, t; dtgamma) -> dtgamma,
accepted_kwargs = (:dtgamma,))
transform_op = ScalarOperator(0.0;
update_func = (old_op, u, p, t; dtgamma, transform) -> transform ?
inv(dtgamma) :
one(dtgamma),
accepted_kwargs = (:dtgamma, :transform))
update_func = (old_op, u, p, t; dtgamma) -> inv(dtgamma),
accepted_kwargs = (:dtgamma,))
W_op = -(I - gamma_op * J_op) * transform_op

# Make problem with custom MatrixOperator jac_prototype
Expand Down

0 comments on commit 783c88a

Please sign in to comment.