From 783c88a62d5888bcb1a32aaf3f47b39705bd4961 Mon Sep 17 00:00:00 2001 From: Oscar Smith Date: Tue, 17 Sep 2024 00:31:44 -0400 Subject: [PATCH] fix test --- test/interface/wprototype_tests.jl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/interface/wprototype_tests.jl b/test/interface/wprototype_tests.jl index 9d439c00dd..29a564875e 100644 --- a/test/interface/wprototype_tests.jl +++ b/test/interface/wprototype_tests.jl @@ -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