File tree 2 files changed +7
-6
lines changed
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
191
191
NonlinearSolveBase. nodual_value (x:: Dual ) = ForwardDiff. value (x)
192
192
NonlinearSolveBase. nodual_value (x:: AbstractArray{<:Dual} ) = map (ForwardDiff. value, x)
193
193
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
- """
200
194
@inline NonlinearSolveBase. pickchunksize (x) = pickchunksize (length (x))
201
195
@inline NonlinearSolveBase. pickchunksize (x:: Int ) = ForwardDiff. pickchunksize (x)
202
196
Original file line number Diff line number Diff line change @@ -12,6 +12,13 @@ function nonlinearsolve_∂f_∂p end
12
12
function nonlinearsolve_∂f_∂u end
13
13
function nlls_generate_vjp_function end
14
14
function 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
+ """
15
22
function pickchunksize end
16
23
17
24
# Nonlinear Solve Termination Conditions
You can’t perform that action at this time.
0 commit comments