Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Nov 1, 2023
1 parent b4869d8 commit 5486065
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ function default_adargs_to_adtype(; chunk_size = missing, autodiff = nothing,

ad = _unwrap_val(autodiff)
# We don't really know the typeof the input yet, so we can't use the correct tag!
ad && return AutoForwardDiff{_unwrap_val(chunk_size), NonlinearSolveTag}(
NonlinearSolveTag())
ad &&
return AutoForwardDiff{_unwrap_val(chunk_size), NonlinearSolveTag}(NonlinearSolveTag())
return AutoFiniteDiff(; fdtype = diff_type)
end

Expand Down

0 comments on commit 5486065

Please sign in to comment.