diff options
Diffstat (limited to 'src/sat/bsat/satProof2.h')
-rw-r--r-- | src/sat/bsat/satProof2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sat/bsat/satProof2.h b/src/sat/bsat/satProof2.h index 25ad0d07..b82d9590 100644 --- a/src/sat/bsat/satProof2.h +++ b/src/sat/bsat/satProof2.h @@ -290,6 +290,7 @@ static inline Vec_Int_t * Prf_ManUnsatCore( Prf_Man_t * p ) int i, Entry; assert( p->iFirst >= 0 ); assert( p->pInfo == NULL ); + assert( Prf_ManSize(p) > 0 ); vCore = Vec_IntAlloc( 64 * p->nWords ); p->pInfo = Prf_ManClauseInfo( p, Prf_ManSize(p)-1 ); if ( p->vId2Pr == NULL ) |