@@ -8,7 +8,7 @@ function BDF_docstring(description::String,
88 autodiff = AutoForwardDiff(),
99 standardtag = Val{true}(),
1010 concrete_jac = nothing,
11- diff_type = Val{:forward},
11+ diff_type = Val{:forward}() ,
1212 linsolve = nothing,
1313 precs = DEFAULT_PRECS,
1414 """ * " \n " * extra_keyword_default
@@ -115,7 +115,7 @@ struct ABDF2{CS, AD, F, F2, P, FDT, ST, CJ, K, T, StepLimiter} <:
115115 autodiff:: AD
116116end
117117function ABDF2 (; chunk_size = Val {0} (), autodiff = AutoForwardDiff (), standardtag = Val {true} (),
118- concrete_jac = nothing , diff_type = Val{:forward },
118+ concrete_jac = nothing , diff_type = Val {:forward} () ,
119119 κ = nothing , tol = nothing , linsolve = nothing , precs = DEFAULT_PRECS,
120120 nlsolve = NLNewton (),
121121 smooth_est = true , extrapolant = :linear ,
@@ -175,7 +175,7 @@ struct SBDF{CS, AD, F, F2, P, FDT, ST, CJ, K, T} <:
175175end
176176
177177function SBDF (order; chunk_size = Val {0} (), autodiff = AutoForwardDiff (),
178- standardtag = Val {true} (), concrete_jac = nothing , diff_type = Val{:forward },
178+ standardtag = Val {true} (), concrete_jac = nothing , diff_type = Val {:forward} () ,
179179 linsolve = nothing , precs = DEFAULT_PRECS, nlsolve = NLNewton (), κ = nothing ,
180180 tol = nothing ,
181181 extrapolant = :linear , ark = false )
197197
198198# All keyword form needed for remake
199199function SBDF (; chunk_size = Val {0} (), autodiff = AutoForwardDiff (), standardtag = Val {true} (),
200- concrete_jac = nothing , diff_type = Val{:forward },
200+ concrete_jac = nothing , diff_type = Val {:forward} () ,
201201 linsolve = nothing , precs = DEFAULT_PRECS, nlsolve = NLNewton (), κ = nothing ,
202202 tol = nothing ,
203203 extrapolant = :linear ,
@@ -304,7 +304,7 @@ struct QNDF1{CS, AD, F, F2, P, FDT, ST, CJ, κType, StepLimiter} <:
304304end
305305
306306function QNDF1 (; chunk_size = Val {0} (), autodiff = AutoForwardDiff (), standardtag = Val {true} (),
307- concrete_jac = nothing , diff_type = Val{:forward },
307+ concrete_jac = nothing , diff_type = Val {:forward} () ,
308308 linsolve = nothing , precs = DEFAULT_PRECS, nlsolve = NLNewton (),
309309 extrapolant = :linear , kappa = - 37 // 200 ,
310310 controller = :Standard , step_limiter! = trivial_limiter!)
@@ -364,7 +364,7 @@ struct QNDF2{CS, AD, F, F2, P, FDT, ST, CJ, κType, StepLimiter} <:
364364end
365365
366366function QNDF2 (; chunk_size = Val {0} (), autodiff = AutoForwardDiff (), standardtag = Val {true} (),
367- concrete_jac = nothing , diff_type = Val{:forward },
367+ concrete_jac = nothing , diff_type = Val {:forward} () ,
368368 linsolve = nothing , precs = DEFAULT_PRECS, nlsolve = NLNewton (),
369369 extrapolant = :linear , kappa = - 1 // 9 ,
370370 controller = :Standard , step_limiter! = trivial_limiter!)
433433
434434function QNDF (; max_order:: Val{MO} = Val {5} (), chunk_size = Val {0} (),
435435 autodiff = AutoForwardDiff (), standardtag = Val {true} (), concrete_jac = nothing ,
436- diff_type = Val{:forward },
436+ diff_type = Val {:forward} () ,
437437 linsolve = nothing , precs = DEFAULT_PRECS, nlsolve = NLNewton (), κ = nothing ,
438438 tol = nothing ,
439439 extrapolant = :linear , kappa = (
@@ -482,7 +482,7 @@ struct MEBDF2{CS, AD, F, F2, P, FDT, ST, CJ} <:
482482 autodiff:: AD
483483end
484484function MEBDF2 (; chunk_size = Val {0} (), autodiff = AutoForwardDiff (), standardtag = Val {true} (),
485- concrete_jac = nothing , diff_type = Val{:forward },
485+ concrete_jac = nothing , diff_type = Val {:forward} () ,
486486 linsolve = nothing , precs = DEFAULT_PRECS, nlsolve = NLNewton (),
487487 extrapolant = :constant )
488488
541541
542542function FBDF (; max_order:: Val{MO} = Val {5} (), chunk_size = Val {0} (),
543543 autodiff = AutoForwardDiff (), standardtag = Val {true} (), concrete_jac = nothing ,
544- diff_type = Val{:forward },
544+ diff_type = Val {:forward} () ,
545545 linsolve = nothing , precs = DEFAULT_PRECS, nlsolve = NLNewton (), κ = nothing ,
546546 tol = nothing ,
547547 extrapolant = :linear , controller = :Standard , step_limiter! = trivial_limiter!) where {MO}
@@ -660,7 +660,7 @@ struct DImplicitEuler{CS, AD, F, F2, P, FDT, ST, CJ} <: DAEAlgorithm{CS, AD, FDT
660660end
661661function DImplicitEuler (;
662662 chunk_size = Val {0} (), autodiff = AutoForwardDiff (), standardtag = Val {true} (),
663- concrete_jac = nothing , diff_type = Val{:forward },
663+ concrete_jac = nothing , diff_type = Val {:forward} () ,
664664 linsolve = nothing , precs = DEFAULT_PRECS, nlsolve = NLNewton (),
665665 extrapolant = :constant ,
666666 controller = :Standard )
@@ -702,7 +702,7 @@ struct DABDF2{CS, AD, F, F2, P, FDT, ST, CJ} <: DAEAlgorithm{CS, AD, FDT, ST, CJ
702702 autodiff:: AD
703703end
704704function DABDF2 (; chunk_size = Val {0} (), autodiff = AutoForwardDiff (), standardtag = Val {true} (),
705- concrete_jac = nothing , diff_type = Val{:forward },
705+ concrete_jac = nothing , diff_type = Val {:forward} () ,
706706 linsolve = nothing , precs = DEFAULT_PRECS, nlsolve = NLNewton (),
707707 extrapolant = :constant ,
708708 controller = :Standard )
@@ -766,7 +766,7 @@ struct DFBDF{MO, CS, AD, F, F2, P, FDT, ST, CJ, K, T} <: DAEAlgorithm{CS, AD, FD
766766end
767767function DFBDF (; max_order:: Val{MO} = Val {5} (), chunk_size = Val {0} (),
768768 autodiff = AutoForwardDiff (), standardtag = Val {true} (), concrete_jac = nothing ,
769- diff_type = Val{:forward },
769+ diff_type = Val {:forward} () ,
770770 linsolve = nothing , precs = DEFAULT_PRECS, nlsolve = NLNewton (), κ = nothing ,
771771 tol = nothing ,
772772 extrapolant = :linear , controller = :Standard ) where {MO}
0 commit comments