Skip to content

Commit

Permalink
remove vim newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinmccarter committed Mar 29, 2022
1 parent 48ceb25 commit 5dc8f5d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion torchmin/bfgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,4 +381,4 @@ def _minimize_lbfgs(
return _minimize_bfgs_core(
fun, x0, lr, low_mem=True, history_size=history_size,
max_iter=max_iter, line_search=line_search, gtol=gtol, xtol=xtol,
normp=normp, callback=callback, disp=disp, return_all=return_all)
normp=normp, callback=callback, disp=disp, return_all=return_all)
2 changes: 1 addition & 1 deletion torchmin/cg.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,4 @@ def descent_condition(t, f_next, g_next):
message=msg, nit=niter, nfev=sf.nfev)
if return_all:
result['allvecs'] = allvecs
return result
return result
2 changes: 1 addition & 1 deletion torchmin/newton.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,4 +403,4 @@ def _minimize_newton_exact(
message=msg, nit=n_iter, nfev=sf.nfev, nfail=nfail)
if return_all:
result['allvecs'] = allvecs
return result
return result
2 changes: 1 addition & 1 deletion torchmin/trustregion/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,4 +267,4 @@ def _minimize_trust_region(fun, x0, subproblem=None, initial_trust_radius=1.,
if return_all:
result['allvecs'] = allvecs

return result
return result

0 comments on commit 5dc8f5d

Please sign in to comment.