Skip to content

Commit f3fc883

Browse files
committed
Fix compilation error
1 parent ad83228 commit f3fc883

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cp-algo/graph/base.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ namespace cp_algo::graph {
4444
}
4545
auto const& incidence_lists() const {return _adj;}
4646
edge_t const& edge(edge_index e) const {return edges[e];}
47-
size_t n() const {return _adj.size();}
48-
size_t m() const {return size(edges) / 2;}
47+
node_index n() const {return _adj.size();}
48+
edge_index m() const {return size(edges) / 2;}
4949
private:
5050
node_index v0;
5151
std::vector<edge_t> edges;

0 commit comments

Comments
 (0)