Bug fix: typos master
authorHamed Gorjiara <hgorjiar@uci.edu>
Fri, 22 Nov 2019 02:52:43 +0000 (18:52 -0800)
committerHamed Gorjiara <hgorjiar@uci.edu>
Fri, 22 Nov 2019 02:52:43 +0000 (18:52 -0800)
src/Tuner/basictuner.cc
src/Tuner/comptuner.cc

index f3a00ea460aa1d78dd627805782993b73aa9bffd..6ac7453a249648a16fcb93c3850d1ef8d2250e68 100644 (file)
@@ -195,7 +195,7 @@ long long BasicTuner::evaluate(Problem *problem, TunerRecord *tuner) {
                problem->setResult( sat );
        } else if (problem->getResult() != sat && sat != IS_INDETER) {
                model_print("******** Result has changed ******** Found a bug!!\n");
-               ASSERT(0)
+               ASSERT(0);
        }
        if (sat == IS_INDETER && metric != -1) {//The case when we have a timeout
                metric = -1;
index b8b574c9170e24e6e97328a2fad8ebd2d35bd854..27eba5b4012cf2ee1a027f97428b02d1748da629 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);
-                               if(time1 == -1 || time2 == -2){
+                               if(time1 == -1 || time1 == -2){
                                        time1=LLONG_MAX;
                                }
                                long long time2 = tuner2->getTime(problem);