Commit e6a5db44 authored by Christopher Alfeld's avatar Christopher Alfeld

Fixed probably bug in finding the absolute best score.

parent 61a08b32
......@@ -216,7 +216,7 @@ int assign()
bestscore = newscore;
bestviolated = violated;
accepts++;
if (violated < absbestv ||
if ((violated < absbestv) ||
((violated == absbestv) &&
(newscore < absbest))) {
node n2;
......
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