diff --git a/openevolve/database.py b/openevolve/database.py index d39792c0c..691c4f1a2 100644 --- a/openevolve/database.py +++ b/openevolve/database.py @@ -1067,8 +1067,8 @@ def _is_novel(self, program_id: int, island_idx: int) -> bool: other = self.programs[pid] if other.embedding is None: - logger.log( - "Warning: Program %s has no embedding, skipping similarity check", other.id + logger.warning( + f"Program {other.id} has no embedding, skipping similarity check" ) continue