diff options
author | Yen-Sheng Ho <ysho@berkeley.edu> | 2017-03-31 07:42:06 -0700 |
---|---|---|
committer | Yen-Sheng Ho <ysho@berkeley.edu> | 2017-03-31 07:42:06 -0700 |
commit | 04bd8631e095eb391cd44370b0c6a3c9c56ce60f (patch) | |
tree | 0436ac1539b027c440f9ab3771b7639dd1e2dcdd /src/sat | |
parent | 16ef095f9cc4410ce50fbf3ddc5bc6ae360d5766 (diff) | |
parent | 96056c377cd0b3cc834f139ef90aaecf9c94d629 (diff) | |
download | abc-04bd8631e095eb391cd44370b0c6a3c9c56ce60f.tar.gz abc-04bd8631e095eb391cd44370b0c6a3c9c56ce60f.tar.bz2 abc-04bd8631e095eb391cd44370b0c6a3c9c56ce60f.zip |
merge
Diffstat (limited to 'src/sat')
-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" ); |