mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-21 14:05:14 +02:00
[opt] bugfix
This commit is contained in:
parent
be3c8f5202
commit
7fbbdafdbf
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ class VerboseOptimization(object):
|
|||
self.current_gradient = np.nan
|
||||
|
||||
def __exit__(self, type, value, traceback):
|
||||
if self.verbose or self.ipython_notebook:
|
||||
if self.verbose:
|
||||
self.stop = time.time()
|
||||
self.model.remove_observer(self)
|
||||
self.print_out()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue