bug fix
authorbdemsky <bdemsky@uci.edu>
Mon, 26 Aug 2019 18:59:56 +0000 (11:59 -0700)
committerbdemsky <bdemsky@uci.edu>
Mon, 26 Aug 2019 18:59:56 +0000 (11:59 -0700)
src/ASTTransform/integerencoding.cc

index 34bcd74..621d2a8 100644 (file)
@@ -24,7 +24,9 @@ void IntegerEncodingTransform::doTransform() {
        SetIteratorOrder *orderit = orders->iterator();
        while (orderit->hasNext()) {
                Order *order = orderit->next();
-               if (GETVARTUNABLE(solver->getTuner(), order->type, ORDERINTEGERENCODING, &offon))
+               if (order->type == SATC_PARTIAL)
+                 continue;
+               if (GETVARTUNABLE(solver->getTuner(), order->set->type, ORDERINTEGERENCODING, &offon))
                        integerEncode(order);
        }
        delete orders;