Skip to content

Commit 9532351

Browse files
committed
Fit initialisation in edge
1 parent 51087ba commit 9532351

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/solvers/enummixed/clique.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,8 @@ class CliqueEnumerator {
199199
public:
200200
class Edge {
201201
public:
202-
int node1;
203-
int node2;
204-
int nextedge;
202+
int node1, node2, nextedge{};
203+
205204
Edge() = default;
206205
explicit Edge(const int n1, const int n2) : node1(n1), node2(n2) {}
207206
~Edge() = default;

0 commit comments

Comments
 (0)