Skip to content

Commit 3672e71

Browse files
committed
fix print_jacobian_summary
1 parent 59ac082 commit 3672e71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

post_processing/jacobian_summary.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sparse approximations against the dense matrix.
88
function print_jacobian_summary(integrator)
99
Y = integrator.u
1010
t = integrator.t
11-
(; p, dt) = integrator
11+
(; p) = integrator
1212
timestepper_alg = integrator.alg
1313
tableau_coefficients =
1414
timestepper_alg isa CA.CTS.RosenbrockAlgorithm ?
@@ -19,7 +19,7 @@ function print_jacobian_summary(integrator)
1919

2020
FT = eltype(Y)
2121
γs = filter(!iszero, CA.LinearAlgebra.diag(tableau_coefficients))
22-
dtγ = dt * FT(γs[end])
22+
dtγ = p.dt * FT(γs[end])
2323
scalar_names = CA.scalar_field_names(Y)
2424
block_keys = Iterators.product(scalar_names, scalar_names)
2525

0 commit comments

Comments
 (0)