From 05c8b785318534b960d5b263dac5b6013a1884dd Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Wed, 11 Jul 2012 14:05:07 -0700 Subject: Changes to clause mapping. --- src/sat/bsat/satSolver2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sat') 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; } -- cgit v1.2.3