mirror of https://github.com/YosysHQ/abc.git
Fixing several potential bugs.
This commit is contained in:
parent
cde2830d7c
commit
66d2201c2b
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue