Skip to content

Commit 4c04583

Browse files
author
Marc Geilen
committed
fix interface
1 parent 7059f23 commit 4c04583

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ void stronglyConnectedMCMgraph(MCMgraph &g,
252252
* The function removes all hidden nodes and edges from the graph. All visible
253253
* edges are assigned a new id starting in the range [0,nrNodes()).
254254
*/
255-
void relabelMCMgraph(std::shared_ptr<MCMgraph> g);
255+
void relabelMCMgraph(MCMgraph& g);
256256

257257
/**
258258
* addLongestDelayEdgesToMCMgraph ()
@@ -261,7 +261,7 @@ void relabelMCMgraph(std::shared_ptr<MCMgraph> g);
261261
* with no delay are removed and edges with more than one delay element
262262
* are converted into a sequence of edges with one delay element.
263263
*/
264-
void addLongestDelayEdgesToMCMgraph(std::shared_ptr<MCMgraph> g);
264+
void addLongestDelayEdgesToMCMgraph(MCMgraph& g);
265265

266266
} // namespace Graphs
267267
#endif

0 commit comments

Comments
 (0)