Debugging a proof error.

This commit is contained in:
Alan Mishchenko 2012-07-13 17:46:30 -07:00
parent 4051572726
commit 6578d9cd00
1 changed files with 1 additions and 0 deletions

View File

@ -443,6 +443,7 @@ int Sat_ProofReduce( Vec_Set_t * vProof, void * pRoots, int hProofPivot )
int X = Proof_NodeWordNum(pNode->nEnts);
hTemp = pNode->Id; pNode->Id = 0;
assert( hTemp > 1 );
assert( hTemp + Proof_NodeWordNum(pNode->nEnts) < (1<<vProof->nPageSize) );
memmove( Vec_SetEntry(vProof, hTemp), pNode, sizeof(word)*Proof_NodeWordNum(pNode->nEnts) );
if ( pPivot && pPivot <= pNode )
{