Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 committed Dec 14, 2023
1 parent ed6f4df commit 0e2d62e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/OptimizationSolvers/src/OptimizationSolvers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ using Reexport, Printf, ProgressLogging
using Optimization.SciMLBase, LineSearches

include("sophia.jl")
include("bfgs.jl")
include("lbfgs.jl")
# include("bfgs.jl")
# include("lbfgs.jl")
end
1 change: 0 additions & 1 deletion lib/OptimizationSolvers/src/bfgs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ function SciMLBase.__solve(cache::OptimizationCache{
try
= ϕ(θ, dir)
_ϕdϕ = ϕdϕ(θ, dir)

ϕ₀, dϕ₀ = _ϕdϕ(zero(eltype(θ)))
ls(_ϕ, _ϕdϕ, 1.0, ϕ₀, dϕ₀)[1]
catch err
Expand Down

0 comments on commit 0e2d62e

Please sign in to comment.