Resolving conflicts after merging with altgen
[satune.git] / src / Backend / satfunctableencoder.cc
index ea77e990f0f33f2290ae5a8afcb7e28c60cf1670..07cfe88bd93e5672c94a729f86e88d2111edd00a 100644 (file)
@@ -97,6 +97,7 @@ Edge SATEncoder::encodeEnumTablePredicateSATEncoder(BooleanPredicate *constraint
        if (generateNegation)
                polarity = negatePolarity(polarity);
        
+        ASSERT(numDomains != 0);
        VectorEdge *clauses = allocDefVectorEdge();
 
        uint indices[numDomains];       //setup indices