From 10df00ff808c6681c31ff115e53fcaafa17d96d1 Mon Sep 17 00:00:00 2001 From: Noobie99 Date: Tue, 29 Aug 2023 09:40:24 +0200 Subject: small fix + consistency --- graph/minCostMaxFlow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graph/minCostMaxFlow.cpp') diff --git a/graph/minCostMaxFlow.cpp b/graph/minCostMaxFlow.cpp index 0e33ae4..3526b17 100644 --- a/graph/minCostMaxFlow.cpp +++ b/graph/minCostMaxFlow.cpp @@ -15,7 +15,7 @@ struct MinCostFlow { MinCostFlow(int n, int source, int target) : adj(n), s(source), t(target) {}; - void addedge(int u, int v, ll c, ll cost) { + void addEdge(int u, int v, ll c, ll cost) { adj[u].push_back(sz(edges)); edges.push_back({v, c, cost}); adj[v].push_back(sz(edges)); -- cgit v1.2.3