Skip to content

Commit 1e12c96

Browse files
committed
Fix bug
1 parent fb70ffc commit 1e12c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openevolve/evaluator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def _load_evaluation_function(self) -> None:
109109
f"Evaluation file {self.evaluation_file} does not contain an 'evaluate' function"
110110
)
111111

112-
self.evaluation_object = module.evaluate
112+
self.evaluation_object = module
113113
logger.info(f"Successfully loaded evaluation function from {self.evaluation_file}")
114114

115115
# Validate cascade configuration

0 commit comments

Comments
 (0)