Skip to content

Commit 0b3e413

Browse files
committed
Format max_flow_min_cost
1 parent 217878f commit 0b3e413

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

AlgoTuneTasks/max_flow_min_cost/max_flow_min_cost.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,12 @@ def solve(self, problem: dict[str, Any]) -> list[list[Any]]:
207207
def is_solution(self, problem: dict[str, Any], solution: list[list[Any]]) -> bool:
208208
try:
209209
import math
210+
210211
n = len(problem["capacity"])
211212
s = problem["s"]
212213
t = problem["t"]
213214

214-
tol = 1e-5
215+
tol = 1e-5
215216

216217
# check if solution is a valid flow:
217218
for i in range(n):

0 commit comments

Comments
 (0)