Bug fix: typos
[satune.git] / src / Tuner / comptuner.cc
index b8b574c..27eba5b 100644 (file)
@@ -31,7 +31,7 @@ void CompTuner::findBestTwoTuners() {
                        for (uint l = 0; l < problems.getSize(); l++) {
                                Problem *problem = problems.get(l);
                                long long time1 = tuner1->getTime(problem);
                        for (uint l = 0; l < problems.getSize(); l++) {
                                Problem *problem = problems.get(l);
                                long long time1 = tuner1->getTime(problem);
-                               if(time1 == -1 || time2 == -2){
+                               if(time1 == -1 || time1 == -2){
                                        time1=LLONG_MAX;
                                }
                                long long time2 = tuner2->getTime(problem);
                                        time1=LLONG_MAX;
                                }
                                long long time2 = tuner2->getTime(problem);