Skip to content

Commit

Permalink
Update optimizer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Evolutionary-Intelligence authored Jan 24, 2025
1 parent 496e58d commit 4c2a9e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypop7/optimizers/core/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def __init__(self, problem, options):
self.problem_name = self.fitness_function.__name__

# optimizer-related basic options
self.options = options
self.options = options # not use `deep copy` to save memory
self.max_function_evaluations = options.get('max_function_evaluations', np.inf)
self.max_runtime = options.get('max_runtime', np.inf)
self.fitness_threshold = options.get('fitness_threshold', -np.inf)
Expand Down

0 comments on commit 4c2a9e7

Please sign in to comment.