From 3a6c99fe4ced0d9ed0c30df0bbc376c42b20b946 Mon Sep 17 00:00:00 2001 From: Yifan Zhao <58430003+AlpAcA0072@users.noreply.github.com> Date: Tue, 24 Sep 2024 10:29:58 +0800 Subject: [PATCH] Update evoxbench.py Fix the comment of the CitySeg/MOP's Problems in the EvoX, the problem of CitySeg/MOP ranges from 1 to 15. --- src/evox/problems/evoxbench/evoxbench.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evox/problems/evoxbench/evoxbench.py b/src/evox/problems/evoxbench/evoxbench.py index 120be445c..051b3f8a4 100644 --- a/src/evox/problems/evoxbench/evoxbench.py +++ b/src/evox/problems/evoxbench/evoxbench.py @@ -60,7 +60,7 @@ class CitySegMOP(EvoXBenchProblem): def __init__(self, problem_id) -> None: assert ( isinstance(problem_id, int) and 1 <= problem_id and problem_id <= 15 - ), "For citysegmop, problem_id must be an integer between 1 and 9" + ), "For citysegmop, problem_id must be an integer between 1 and 15" benchmark = citysegmop(problem_id) super().__init__(benchmark)