Skip to content

Commit b63cc79

Browse files
committed
Move the argument to last position for compatibility
1 parent 1eec40d commit b63cc79

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
@@ -58,11 +58,11 @@ def __init__(
5858
self,
5959
config: EvaluatorConfig,
6060
evaluation_file: str,
61-
evaluation_object: Optional[EvaluationObject] = None,
6261
llm_ensemble: Optional[LLMEnsemble] = None,
6362
prompt_sampler: Optional[PromptSampler] = None,
6463
database: Optional[ProgramDatabase] = None,
6564
suffix: Optional[str]=".py",
65+
evaluation_object: Optional[EvaluationObject] = None,
6666
):
6767
if evaluation_file and evaluation_object:
6868
warnings.warn("Both evaluation_file and evaluation_object provided - evaluation_object overrides evaluation_file")

0 commit comments

Comments
 (0)