Skip to content

Commit d18123a

Browse files
committed
Added iteration increment
1 parent 16e7dc9 commit d18123a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openevolve/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ async def run(
364364
)
365365
break
366366
self.database.save(temp_db_path, iteration)
367-
367+
iteration += 1
368368
except Exception as e:
369369
logger.error(f"Error in iteration {i+1}: {str(e)}")
370370
continue

0 commit comments

Comments
 (0)