Commit 772eaa63 by Alan Mishchenko

Assertion fail after 'print_supp -w'.

parent 494ca715
...@@ -1253,7 +1253,10 @@ void Abc_NtkPrintStrSupports( Abc_Ntk_t * pNtk, int fMatrix ) ...@@ -1253,7 +1253,10 @@ void Abc_NtkPrintStrSupports( Abc_Ntk_t * pNtk, int fMatrix )
Vec_PtrFree( vSupp ); Vec_PtrFree( vSupp );
} }
if ( !fMatrix ) if ( !fMatrix )
{
Abc_NtkCleanMarkA( pNtk );
return; return;
}
Abc_NtkForEachCi( pNtk, pObj, k ) Abc_NtkForEachCi( pNtk, pObj, k )
pObj->fMarkA = 0; pObj->fMarkA = 0;
...@@ -1273,7 +1276,7 @@ void Abc_NtkPrintStrSupports( Abc_Ntk_t * pNtk, int fMatrix ) ...@@ -1273,7 +1276,7 @@ void Abc_NtkPrintStrSupports( Abc_Ntk_t * pNtk, int fMatrix )
Abc_NtkForEachCi( pNtk, pObj, k ) Abc_NtkForEachCi( pNtk, pObj, k )
pObj->fMarkA = 0; pObj->fMarkA = 0;
} }
Abc_NtkCleanMarkA( pNtk );
} }
/**Function************************************************************* /**Function*************************************************************
......
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