Merge branch 'hamed' of ssh://plrg.eecs.uci.edu/home/git/constraint_compiler into...
authorbdemsky <bdemsky@uci.edu>
Thu, 2 Aug 2018 23:29:59 +0000 (16:29 -0700)
committerbdemsky <bdemsky@uci.edu>
Thu, 2 Aug 2018 23:29:59 +0000 (16:29 -0700)
src/Backend/satencoder.cc

index 52cc8dc82edd279501a60fcd6bfd573a75e50be0..b13541d63c3f7411964f3b2c38f29eff24f23999 100644 (file)
@@ -80,8 +80,6 @@ Edge SATEncoder::encodeConstraintSATEncoder(BooleanEdge c) {
                generateProxy(cnf, result, e, p);
                booledgeMap.put(constraint, e.node_ptr);
                result = e;
-       } else{
-               booledgeMap.put(constraint, result.node_ptr);
        }
 
        return c.isNegated() ? constraintNegate(result) : result;