summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2016-12-21 15:34:02 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2016-12-21 15:34:02 +0700
commitcf5d4ad07f87e936a114afca483ed66ffb1a2120 (patch)
tree0b2418539b383f6fa9adbb573fba8b6dee6267d9
parentcb49c5d0067bc2630c86d258bba5bfbbc5a5d916 (diff)
downloadabc-cf5d4ad07f87e936a114afca483ed66ffb1a2120.tar.gz
abc-cf5d4ad07f87e936a114afca483ed66ffb1a2120.tar.bz2
abc-cf5d4ad07f87e936a114afca483ed66ffb1a2120.zip
Converting some errors into warnings.
-rw-r--r--src/base/abci/abc.c4
-rw-r--r--src/base/abci/abcMfs.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index dabeb982..fb301790 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -19532,7 +19532,7 @@ int Abc_CommandSeqSweep( Abc_Frame_t * pAbc, int argc, char ** argv )
if ( Abc_NtkIsComb(pNtk) )
{
- Abc_Print( -1, "The network is combinational (run \"fraig\" or \"fraig_sweep\").\n" );
+ Abc_Print( 0, "The network is combinational (run \"fraig\" or \"fraig_sweep\").\n" );
return 0;
}
@@ -31954,7 +31954,7 @@ int Abc_CommandAbc9Scorr( Abc_Frame_t * pAbc, int argc, char ** argv )
}
if ( Gia_ManRegNum(pAbc->pGia) == 0 )
{
- Abc_Print( -1, "The network is combinational.\n" );
+ Abc_Print( 0, "The network is combinational.\n" );
return 0;
}
pTemp = Cec_ManLSCorrespondence( pAbc->pGia, pPars );
diff --git a/src/base/abci/abcMfs.c b/src/base/abci/abcMfs.c
index e33d6c73..d44ca1a0 100644
--- a/src/base/abci/abcMfs.c
+++ b/src/base/abci/abcMfs.c
@@ -259,7 +259,7 @@ int Abc_NtkPerformMfs( Abc_Ntk_t * pNtk, Sfm_Par_t * pPars )
if ( nFaninMax > 6 )
{
Abc_Print( 1, "Currently \"mfs\" cannot process the network containing nodes with more than 6 fanins.\n" );
- return 0;
+ return 1;
}
if ( !Abc_NtkHasSop(pNtk) )
if ( !Abc_NtkToSop( pNtk, -1, ABC_INFINITY ) )