Skip to content

Commit

Permalink
removed unused legacy var
Browse files Browse the repository at this point in the history
  • Loading branch information
zaccharieramzi committed Oct 7, 2022
1 parent 04b8870 commit 2ab6b2d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion jaxopt/_src/lbfgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ def update(self,
(value, aux), grad = self._value_and_grad_with_aux(params, *args, **kwargs)

start = state.iter_num % self.history_size
previous = (start + self.history_size - 1) % self.history_size

product = inv_hessian_product(pytree=grad, s_history=state.s_history,
y_history=state.y_history,
Expand Down

0 comments on commit 2ab6b2d

Please sign in to comment.