Skip to content

Commit 5d5aec5

Browse files
committed
fix
1 parent 7be5079 commit 5d5aec5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

include/maxplus/base/analysis/mcm/mcmyto.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ CDouble getWeight(const MCMedge& e);
173173
* to graph input for Young-Tarjan-Orlin's algorithm.
174174
* It assumes that the id's of the nodes are 0 <= id < number of nodes
175175
*/
176-
void convertMCMgraphToYTOgraph(const MCMgraph& g,
176+
void convertMCMgraphToYTOgraph(MCMgraph& g,
177177
graph& gr,
178178
CDouble (*costFunction)(const MCMedge& e),
179179
CDouble (*transit_timeFunction)(const MCMedge& e));

src/base/analysis/mcm/mcmyto.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,8 @@ class AlgYTO {
933933
* to graph input for Young-Tarjan-Orlin's algorithm.
934934
* It assumes that the id's of the nodes are 0 <= id < number of nodes
935935
*/
936+
937+
936938
void convertMCMgraphToYTOgraph(MCMgraph &g,
937939
graph &gr,
938940
CDouble (*costFunction)(const MCMedge& e),

0 commit comments

Comments
 (0)