Commit d44a0a58 authored by Robert Ricci's avatar Robert Ricci

Fix to my last checkin, for when all nodes are fixed.

parent ca88efa3
......@@ -317,7 +317,7 @@ void anneal(bool scoring_selftest, double scale_neighborhood)
double scores[neighborsize];
#endif
if (num_fixed == nnodes) {
if (nnodes <= 0) {
cout << "All nodes are fixed. No annealing." << endl;
goto DONE;
}
......
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