File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -191,12 +191,6 @@ NonlinearSolveBase.nodual_value(x) = x
191191NonlinearSolveBase. nodual_value (x:: Dual ) = ForwardDiff. value (x)
192192NonlinearSolveBase. nodual_value (x:: AbstractArray{<:Dual} ) = map (ForwardDiff. value, x)
193193
194- """
195- pickchunksize(x) = pickchunksize(length(x))
196- pickchunksize(x::Int)
197-
198- Determine the chunk size for ForwardDiff and PolyesterForwardDiff based on the input length.
199- """
200194@inline NonlinearSolveBase. pickchunksize (x) = pickchunksize (length (x))
201195@inline NonlinearSolveBase. pickchunksize (x:: Int ) = ForwardDiff. pickchunksize (x)
202196
Original file line number Diff line number Diff line change @@ -12,6 +12,13 @@ function nonlinearsolve_∂f_∂p end
1212function nonlinearsolve_∂f_∂u end
1313function nlls_generate_vjp_function end
1414function nodual_value end
15+
16+ """
17+ pickchunksize(x) = pickchunksize(length(x))
18+ pickchunksize(x::Int)
19+
20+ Determine the chunk size for ForwardDiff and PolyesterForwardDiff based on the input length.
21+ """
1522function pickchunksize end
1623
1724# Nonlinear Solve Termination Conditions
You can’t perform that action at this time.
0 commit comments