summaryrefslogtreecommitdiffstats
path: root/src/base/io/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/io/io.c')
-rw-r--r--src/base/io/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/io/io.c b/src/base/io/io.c
index ffb692e6..693dbc9c 100644
--- a/src/base/io/io.c
+++ b/src/base/io/io.c
@@ -2517,7 +2517,7 @@ int IoCommandWriteCex( Abc_Frame_t * pAbc, int argc, char **argv )
fprintf( pAbc->Out, "Empty network.\n" );
return 0;
}
- if ( pNtk->pModel == NULL && pAbc->pCex == NULL )
+ if ( pNtk->pModel == NULL && pAbc->pCex == NULL && pAbc->vCexVec == NULL )
{
fprintf( pAbc->Out, "Counter-example is not available.\n" );
return 0;