Skip to content

Commit 336e7eb

Browse files
authored
fix logging
1 parent 75bc298 commit 336e7eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openevolve/database.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,8 +1067,8 @@ def _is_novel(self, program_id: int, island_idx: int) -> bool:
10671067
other = self.programs[pid]
10681068

10691069
if other.embedding is None:
1070-
logger.log(
1071-
"Warning: Program %s has no embedding, skipping similarity check", other.id
1070+
logger.warning(
1071+
f"Program {other.id} has no embedding, skipping similarity check"
10721072
)
10731073
continue
10741074

0 commit comments

Comments
 (0)