diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-13 18:11:02 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-13 18:11:02 -0700 |
commit | 5ec4db2d44348ad668a10c9e5a81011fa949b403 (patch) | |
tree | 4b94d1c55a0b1f22634b69d3a6e9127796c028a2 /src/sat/bsat | |
parent | 7913c1d84f06e9f1881b3fe9a9e769862ae45b16 (diff) | |
download | abc-5ec4db2d44348ad668a10c9e5a81011fa949b403.tar.gz abc-5ec4db2d44348ad668a10c9e5a81011fa949b403.tar.bz2 abc-5ec4db2d44348ad668a10c9e5a81011fa949b403.zip |
Debugging a proof error.
Diffstat (limited to 'src/sat/bsat')
-rw-r--r-- | src/sat/bsat/satProof.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sat/bsat/satProof.c b/src/sat/bsat/satProof.c index 5616fdda..56de299e 100644 --- a/src/sat/bsat/satProof.c +++ b/src/sat/bsat/satProof.c @@ -412,6 +412,8 @@ int Sat_ProofReduce( Vec_Set_t * vProof, void * pRoots, int hProofPivot ) continue; pNode->Id = Vec_SetAppendS( vProof, 2 + pNode->nEnts ); assert( pNode->Id > 1 ); + assert( pNode->Id < (1<<vProof->nPageSize) ); + assert( pNode->Id + nSize < (1<<vProof->nPageSize) ); Vec_PtrPush( vUsed, pNode ); // update fanins Proof_NodeForeachFanin( vProof, pNode, pFanin, k ) |