From f4e05952fc9b331293c56e432590f622d3c5fe25 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Thu, 20 Aug 2026 07:41:13 -0400 Subject: [PATCH] Restore the out-of-place scalar DAE Jacobian Co-Authored-By: Chris Rackauckas --- lib/OrdinaryDiffEqBDF/test/dae_convergence_tests.jl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/OrdinaryDiffEqBDF/test/dae_convergence_tests.jl b/lib/OrdinaryDiffEqBDF/test/dae_convergence_tests.jl index 9bdce6a92e..346d026c97 100644 --- a/lib/OrdinaryDiffEqBDF/test/dae_convergence_tests.jl +++ b/lib/OrdinaryDiffEqBDF/test/dae_convergence_tests.jl @@ -104,10 +104,7 @@ end f_dae_linear = (du, u, p, t) -> (@. du - u) function f_dae_linear_jac(du, u, p, gamma, t) - J = zeros(2, 2) - J[1, 1] = gamma - 1.0 - J[2, 2] = gamma - 1.0 - return + return gamma - 1.0 end f_dae_linear_analytic = (du0, u0, p, t) -> @. u0 * exp(t) prob_dae_linear_oop = DAEProblem(