@@ -384,9 +384,9 @@ function calc_W!(W, integrator, nlsolver::Union{Nothing, AbstractNLSolver}, cach
384384 if W isa WOperator
385385 if isnewton (nlsolver)
386386 # we will call `update_coefficients!` for u/p/t in NLNewton
387- update_coefficients! (W; dtgamma)
387+ update_coefficients! (W; gamma = dtgamma)
388388 else
389- update_coefficients! (W, uprev, p, t; dtgamma)
389+ update_coefficients! (W, uprev, p, t; gamma = dtgamma)
390390 end
391391 if W. J != = nothing && ! (W. J isa AbstractSciMLOperator)
392392 islin, isode = islinearfunction (integrator)
@@ -396,7 +396,7 @@ function calc_W!(W, integrator, nlsolver::Union{Nothing, AbstractNLSolver}, cach
396396 jacobian2W! (W. _concrete_form, mass_matrix, dtgamma, J)
397397 end
398398 elseif W isa AbstractSciMLOperator && ! (W isa StaticWOperator)
399- update_coefficients! (W, uprev, p, t; dtgamma)
399+ update_coefficients! (W, uprev, p, t; gamma = dtgamma)
400400 else # concrete W using jacobian from `calc_J!`
401401 islin, isode = islinearfunction (integrator)
402402 islin ? (J = isode ? f. f : f. f1. f) :
452452 end
453453 W = WOperator {false} (mass_matrix, dtgamma, J, uprev, cache. W. jacvec)
454454 elseif cache. W isa AbstractSciMLOperator
455- W = update_coefficients (cache. W, uprev, p, t; dtgamma)
455+ W = update_coefficients (cache. W, uprev, p, t; gamma = dtgamma)
456456 else
457457 integrator. stats. nw += 1
458458 J = islin ? isode ? f. f : f. f1. f : calc_J (integrator, cache, next_step)
0 commit comments