Commit 9eadbfae authored by Christopher Alfeld's avatar Christopher Alfeld

Added code to handle edge case of finding an immediate solution.

parent 2decbe04
......@@ -408,6 +408,11 @@ int assign()
bestscore = score();
absbest = bestscore;
node n3;
forall_nodes(n3, G) {
absnodes[n3] = G[n3].partition();
absphys[n3] = physnodes[n3];
if (bestscore == 0) {
#ifdef VERBOSE
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment