Tuner shouldn't try to find really bad implementations
authorbdemsky <bdemsky@uci.edu>
Wed, 17 Oct 2018 22:19:03 +0000 (15:19 -0700)
committerbdemsky <bdemsky@uci.edu>
Wed, 17 Oct 2018 22:19:03 +0000 (15:19 -0700)
src/Tuner/multituner.cc

index 5103414..e0fee46 100644 (file)
@@ -274,7 +274,7 @@ void MultiTuner::tuneComp() {
                                int tscore = 0;
                                if (scores.contains(t))
                                        tscore = scores.get(t);
                                int tscore = 0;
                                if (scores.contains(t))
                                        tscore = scores.get(t);
-                               if (score < tscore)
+                               if (score > tscore)
                                        break;
                        }
                        DEBUG("ranking[%u]=tuner<%p>(Score=%d)\n", j, tuner, score);
                                        break;
                        }
                        DEBUG("ranking[%u]=tuner<%p>(Score=%d)\n", j, tuner, score);