Commit 66d2201c by Alan Mishchenko

Fixing several potential bugs.

parent cde2830d
......@@ -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 );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment