diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-11 14:05:07 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-11 14:05:07 -0700 |
commit | 05c8b785318534b960d5b263dac5b6013a1884dd (patch) | |
tree | 63083b922065984eba5f32abf03bac379d559fab /src/sat | |
parent | b9ee5d8564025acfbeb632cf3c28ecb8d61a7aa4 (diff) | |
download | abc-05c8b785318534b960d5b263dac5b6013a1884dd.tar.gz abc-05c8b785318534b960d5b263dac5b6013a1884dd.tar.bz2 abc-05c8b785318534b960d5b263dac5b6013a1884dd.zip |
Changes to clause mapping.
Diffstat (limited to 'src/sat')
-rw-r--r-- | src/sat/bsat/satSolver2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sat/bsat/satSolver2.h b/src/sat/bsat/satSolver2.h index 36d2a1ad..f5fe3000 100644 --- a/src/sat/bsat/satSolver2.h +++ b/src/sat/bsat/satSolver2.h @@ -160,7 +160,7 @@ struct sat_solver2_t }; static inline clause * clause2_read( sat_solver2 * s, cla h ) { return Sat_MemClauseHand( &s->Mem, h ); } -static inline int clause2_proofid(sat_solver2* s, clause* c, int partA) { return c->lrn ? (veci_begin(&s->claProofs)[clause_id(c)]<<2) | (partA<<1) : ((clause_id(c)+1)<<2) | (partA<<1) | 1; } +static inline int clause2_proofid(sat_solver2* s, clause* c, int partA) { return c->lrn ? (veci_begin(&s->claProofs)[clause_id(c)]<<2) | (partA<<1) : (clause_id(c)<<2) | (partA<<1) | 1; } // these two only work after creating a clause before the solver is called static inline int clause2_is_partA (sat_solver2* s, int h) { return clause2_read(s, h)->partA; } |