Skip to content

Commit

Permalink
Fix error in symsi counterexample
Browse files Browse the repository at this point in the history
  • Loading branch information
trolando committed Nov 7, 2023
1 parent 6f849c7 commit 34dbd4f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tools/counter_symsi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ main(int argc, char** argv)
}

game.init_vertex(10*n, 1, 0, string_format("a_%d", n+1));
game.init_vertex(10*n+1, N+2*n+2, 1, string_format("d_%d", n+1));
game.init_vertex(10*n+1, 2, 1, string_format("d_%d", n+1));

/* connect the pieces */
for (int i=0; i<n; i++) {
Expand Down Expand Up @@ -110,7 +110,9 @@ main(int argc, char** argv)
}

game.vec_add_edge(10*n, 10*n);
game.vec_add_edge(10*n+1, 10*n);
game.vec_add_edge(10*n+1, 10*n+1);
game.vec_add_edge(10*n, 0);
game.vec_add_edge(10*n+1,1);

game.vec_finish();
game.write_pgsolver(std::cout);
Expand Down

0 comments on commit 34dbd4f

Please sign in to comment.