Commit 45ec5251 authored by theos's avatar theos
Browse files

Added a note in the callback stop functionality from last commit.

parent fb53b84a
...@@ -860,6 +860,7 @@ class quasi_newton_minimizer(object): ...@@ -860,6 +860,7 @@ class quasi_newton_minimizer(object):
try: try:
self.callback(self.x, f_k, i) self.callback(self.x, f_k, i)
except StopIteration: except StopIteration:
self.note.cprint("\nCallback function stopped minization.")
break break
# compute the the gradient for the current x # compute the the gradient for the current x
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment