Skip to content

Commit

Permalink
fix: set termination criteria bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
the-code-magician committed Sep 5, 2014
1 parent 337532e commit 328143b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cameo/strain_design/heuristic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def __init__(self, model=None, heuristic_method=inspyred.ec.GA, objective_functi
self.termination = termination
self._objective_function = objective_function
self.heuristic_method = heuristic_method
self.heuristic_method.terminator = termination
self._generator = None

@property
Expand Down

0 comments on commit 328143b

Please sign in to comment.