Skip to content

Commit 00532b7

Browse files
Update optimizer.py
1 parent 9e456b5 commit 00532b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypop7/optimizers/core/optimizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Optimizer(object):
3232
"""
3333
def __init__(self, problem, options):
3434
# problem-related settings
35-
self.fitness_function = problem.get('fitness_function')
35+
self.fitness_function = problem.get('fitness_function') # to be *minimized*
3636
self.ndim_problem = problem.get('ndim_problem')
3737
assert self.ndim_problem > 0
3838
self.upper_boundary = problem.get('upper_boundary')

0 commit comments

Comments
 (0)