Fix failing tests

This commit is contained in:
2025-12-08 10:31:58 -06:00
parent aa291410d8
commit 1f59ed4065
5 changed files with 18 additions and 24 deletions

View File

@@ -81,6 +81,7 @@ class MaxCutGenerator:
else:
graph = self._generate_graph()
weights = self._generate_weights(graph)
assert weights is not None
return MaxCutData(graph, weights)
return [_sample() for _ in range(n_samples)]