diff options
Diffstat (limited to 'src/sat/cnf')
-rw-r--r-- | src/sat/cnf/cnfUtil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sat/cnf/cnfUtil.c b/src/sat/cnf/cnfUtil.c index a5037718..73bcd8a1 100644 --- a/src/sat/cnf/cnfUtil.c +++ b/src/sat/cnf/cnfUtil.c @@ -449,7 +449,7 @@ int Cnf_DataSolveFromFile( char * pFileName, int nConfLimit, int nLearnedStart, //Abc_Print( -1, "\n" ); Abc_PrintTime( 1, "Time", Abc_Clock() - clk ); // derive SAT assignment - if ( RetValue == 0 ) + if ( RetValue == 0 && nPis > 0 ) { *ppModel = ABC_ALLOC( int, nPis ); for ( i = 0; i < nPis; i++ ) |