summaryrefslogtreecommitdiffstats
path: root/src/aig/mfx/mfxCore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/aig/mfx/mfxCore.c')
-rw-r--r--src/aig/mfx/mfxCore.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/aig/mfx/mfxCore.c b/src/aig/mfx/mfxCore.c
index a7cd3e3c..d9f73c9d 100644
--- a/src/aig/mfx/mfxCore.c
+++ b/src/aig/mfx/mfxCore.c
@@ -205,7 +205,10 @@ int Mfx_Perform( Nwk_Man_t * pNtk, Mfx_Par_t * pPars, If_Lib_t * pLutLib )
int nTotalNodesBeg = Nwk_ManNodeNum(pNtk);
int nTotalEdgesBeg = Nwk_ManGetTotalFanins(pNtk);
-// assert( Nwk_ManCheck( pNtk ) );
+ // prepare the network for processing
+ Nwk_ManRemoveDupFanins( pNtk, 0 );
+ assert( Nwk_ManCheck( pNtk ) );
+
// check limits on the number of fanins
nFaninMax = Nwk_ManGetFaninMax(pNtk);
if ( pPars->fResub )