diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-13 17:36:31 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-13 17:36:31 -0700 |
commit | 0f82d82ba0360c0bd20f25cc77b38105d317e19e (patch) | |
tree | 0ff9e24827f670fb05e0943e8e4f9794b3fac280 /src/sat/bsat/satProof.c | |
parent | f37d0544ded12a1a1a7388cd71a3dc1b1959a331 (diff) | |
download | abc-0f82d82ba0360c0bd20f25cc77b38105d317e19e.tar.gz abc-0f82d82ba0360c0bd20f25cc77b38105d317e19e.tar.bz2 abc-0f82d82ba0360c0bd20f25cc77b38105d317e19e.zip |
Debugging a proof error.
Diffstat (limited to 'src/sat/bsat/satProof.c')
-rw-r--r-- | src/sat/bsat/satProof.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sat/bsat/satProof.c b/src/sat/bsat/satProof.c index 864d87fe..a71df116 100644 --- a/src/sat/bsat/satProof.c +++ b/src/sat/bsat/satProof.c @@ -440,6 +440,7 @@ int Sat_ProofReduce( Vec_Set_t * vProof, void * pRoots, int hProofPivot ) // compact the nodes Vec_PtrForEachEntry( satset *, vUsed, pNode, i ) { + int X = sizeof(word)*Proof_NodeWordNum(pNode->nEnts); hTemp = pNode->Id; pNode->Id = 0; assert( hTemp > 1 ); memmove( Vec_SetEntry(vProof, hTemp), pNode, sizeof(word)*Proof_NodeWordNum(pNode->nEnts) ); @@ -451,7 +452,7 @@ int Sat_ProofReduce( Vec_Set_t * vProof, void * pRoots, int hProofPivot ) { satset * pTemp = (satset *)Vec_SetEntry(vProof, hTemp); assert( pTemp->partA == 0 ); - assert( Proof_NodeWordNum(pNode->nEnts) == Vec_SetWordNum( 2 + pTemp->nEnts ) ); + assert( X == Vec_SetWordNum( 2 + pTemp->nEnts ) ); } } Vec_SetWriteEntryNum( vProof, Vec_PtrSize(vUsed) ); |