diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2019-03-19 11:26:43 +0200 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2019-03-19 11:26:43 +0200 |
commit | 66d2201c2be58c82c4b34bce8b6f789e59994c04 (patch) | |
tree | ee19e503dc75b53c9a4d9168b5721ceb01ddd91f /src | |
parent | cde2830d7cc4a0c789a95f4856d8405969ddd3c7 (diff) | |
download | abc-66d2201c2be58c82c4b34bce8b6f789e59994c04.tar.gz abc-66d2201c2be58c82c4b34bce8b6f789e59994c04.tar.bz2 abc-66d2201c2be58c82c4b34bce8b6f789e59994c04.zip |
Fixing several potential bugs.
Diffstat (limited to 'src')
-rw-r--r-- | src/bdd/dsd/dsdProc.c | 2 | ||||
-rw-r--r-- | src/proof/live/ltl_parser.c | 2 | ||||
-rw-r--r-- | src/proof/ssc/sscUtil.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/bdd/dsd/dsdProc.c b/src/bdd/dsd/dsdProc.c index bcc3102c..8c775e8b 100644 --- a/src/bdd/dsd/dsdProc.c +++ b/src/bdd/dsd/dsdProc.c @@ -873,7 +873,7 @@ if ( s_Show ) for ( m = 0; m < pLR->nDecs; m++ ) if ( pLR->pDecs[m] != pLastDiffL ) pCommon[nCommon++] = pLR->pDecs[m]; - assert( nCommon = pLR->nDecs-1 ); + assert( nCommon == pLR->nDecs-1 ); } } else diff --git a/src/proof/live/ltl_parser.c b/src/proof/live/ltl_parser.c index 36d109cc..646e8f48 100644 --- a/src/proof/live/ltl_parser.c +++ b/src/proof/live/ltl_parser.c @@ -519,7 +519,7 @@ void populateAigPointerUnitGF( Aig_Man_t *pAigNew, ltlNode *topASTNode, Vec_Ptr_ return; case GLOBALLY: nextNode = topASTNode->left; - assert( nextNode->type = EVENTUALLY ); + assert( nextNode->type == EVENTUALLY ); nextToNextNode = nextNode->left; if( nextToNextNode->type == BOOL ) { diff --git a/src/proof/ssc/sscUtil.c b/src/proof/ssc/sscUtil.c index db7f772b..c88e0220 100644 --- a/src/proof/ssc/sscUtil.c +++ b/src/proof/ssc/sscUtil.c @@ -96,7 +96,7 @@ Gia_Man_t * Gia_ManDropContained( Gia_Man_t * p ) Vec_IntWriteEntry( vLits, i, ConstLit ); // const1 SAT var is always true else { - assert( status = l_True ); + assert( status == l_True ); Vec_IntPush( vKeep, i ); } } |