diff options
Diffstat (limited to 'src/sat/bsat')
-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) ); |