Skip to content

Commit 28d8df3

Browse files
fix: None check for latest_results
Co-authored-by: antidodo <albin2993@gmail.com>
1 parent d58bdf4 commit 28d8df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flame/star/aggregator_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def aggregate(self, node_results: list[Any], simple_analysis: bool = True) -> tu
1717
result = self.aggregation_method(node_results)
1818

1919
if not simple_analysis:
20-
if not self.latest_result:
20+
if self.latest_result is None:
2121
converged = False
2222
else:
2323
converged = self.has_converged(result, self.latest_result, self.num_iterations)

0 commit comments

Comments
 (0)