Skip to content

Commit

Permalink
Fixed bug in line 300
Browse files Browse the repository at this point in the history
Before: must turn the `full_output = True` or else the mlmin will repeat unending without learning new point
  • Loading branch information
vieri2006 committed Jul 4, 2020
1 parent 0dd39f5 commit b863439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catlearn/optimize/mlmin.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def run(self, fmax=0.05, steps=200, kernel='SQE', max_step=0.25,
if n_steps_performed > 1000:
if full_output is True:
parprint('Not converged yet...')
ml_converged = True
ml_converged = True
if unc_ml >= max_step:
if full_output is True:
parprint('Maximum uncertainty reach. Early stop.')
Expand Down

0 comments on commit b863439

Please sign in to comment.