Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
FFroehlich committed Mar 10, 2021
1 parent 64c8f9e commit 26e2b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fides/hessian_approximation.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def update(self, s, y):
d = z.T.dot(s)

# [NocedalWright2006] (6.26) reject if update degenerate
if np.abs(d) >= 1e-8 * norm(s) * norm():
if np.abs(d) >= 1e-8 * norm(s) * norm(z):
self._hess += np.outer(z, z.T)/d


Expand Down

0 comments on commit 26e2b68

Please sign in to comment.