diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2017-03-28 14:29:56 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2017-03-28 14:29:56 -0700 |
commit | fdfb8888911220cbd7e6774dda1f90f3c9637fd5 (patch) | |
tree | 97224cb817f3690838484328b52e390c02e0580f /src/sat/cnf/cnfMan.c | |
parent | 2ccd0f9b85cb42d3e6e894a71cd8e962b2d3bd12 (diff) | |
download | abc-fdfb8888911220cbd7e6774dda1f90f3c9637fd5.tar.gz abc-fdfb8888911220cbd7e6774dda1f90f3c9637fd5.tar.bz2 abc-fdfb8888911220cbd7e6774dda1f90f3c9637fd5.zip |
Experiments with don't-cares.
Diffstat (limited to 'src/sat/cnf/cnfMan.c')
-rw-r--r-- | src/sat/cnf/cnfMan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sat/cnf/cnfMan.c b/src/sat/cnf/cnfMan.c index bf2a5b8a..d3a8aa9c 100644 --- a/src/sat/cnf/cnfMan.c +++ b/src/sat/cnf/cnfMan.c @@ -251,7 +251,7 @@ void Cnf_DataPrint( Cnf_Dat_t * p, int fReadable ) for ( i = 0; i < p->nClauses; i++ ) { for ( pLit = p->pClauses[i], pStop = p->pClauses[i+1]; pLit < pStop; pLit++ ) - fprintf( pFile, "%d ", fReadable? Cnf_Lit2Var2(*pLit) : Cnf_Lit2Var(*pLit) ); + fprintf( pFile, "%s%d ", Abc_LitIsCompl(*pLit) ? "-":"", fReadable? Abc_Lit2Var(*pLit) : Abc_Lit2Var(*pLit)+1 ); fprintf( pFile, "\n" ); } fprintf( pFile, "\n" ); |