Skip to content

Commit

Permalink
Accidental shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Nov 1, 2023
1 parent 338d644 commit b4869d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/NonlinearSolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ end
get_fu(cache::AbstractNonlinearSolveCache) = cache.fu1
set_fu!(cache::AbstractNonlinearSolveCache, fu) = (cache.fu1 = fu)
get_u(cache::AbstractNonlinearSolveCache) = cache.u
set_u!(cache::AbstractNonlinearSolveCache, u) = (cache.u = u)
SciMLBase.set_u!(cache::AbstractNonlinearSolveCache, u) = (cache.u = u)

function SciMLBase.solve!(cache::AbstractNonlinearSolveCache)
while not_terminated(cache)
Expand Down
2 changes: 1 addition & 1 deletion src/dfsane.jl
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ end
get_fu(cache::DFSaneCache) = cache.fuₙ
set_fu!(cache::DFSaneCache, fu) = (cache.fuₙ = fu)
get_u(cache::DFSaneCache) = cache.uₙ
set_u!(cache::DFSaneCache, u) = (cache.uₙ = u)
SciMLBase.set_u!(cache::DFSaneCache, u) = (cache.uₙ = u)

function SciMLBase.__init(prob::NonlinearProblem{uType, iip}, alg::DFSane, args...;
alias_u0 = false, maxiters = 1000, abstol = nothing, reltol = nothing,
Expand Down

0 comments on commit b4869d8

Please sign in to comment.