summaryrefslogtreecommitdiffstats
path: root/src/proof/ssc
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-11-01 11:33:43 -0400
committerAlan Mishchenko <alanmi@berkeley.edu>2013-11-01 11:33:43 -0400
commit57b51411813a7eab9943cc7b0efa884949156171 (patch)
tree7b6a2542f22b64227c575253a8e66f1b01583982 /src/proof/ssc
parent7b6e7181e0c1b4a4e4bc8552eabb7ee2adf2b4ca (diff)
downloadabc-57b51411813a7eab9943cc7b0efa884949156171.tar.gz
abc-57b51411813a7eab9943cc7b0efa884949156171.tar.bz2
abc-57b51411813a7eab9943cc7b0efa884949156171.zip
Sweeper assertion.
Diffstat (limited to 'src/proof/ssc')
-rw-r--r--src/proof/ssc/sscSat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proof/ssc/sscSat.c b/src/proof/ssc/sscSat.c
index c029a541..547d58b0 100644
--- a/src/proof/ssc/sscSat.c
+++ b/src/proof/ssc/sscSat.c
@@ -350,6 +350,8 @@ int Ssc_ManCheckEquivalence( Ssc_Man_t * p, int iRepr, int iNode, int fCompl )
int pLitsSat[2], RetValue;
abctime clk;
assert( iRepr != iNode );
+ if ( iRepr > iNode )
+ return l_Undef;
assert( iRepr < iNode );
// if ( p->nTimeOut )
// sat_solver_set_runtime_limit( p->pSat, p->nTimeOut * CLOCKS_PER_SEC + Abc_Clock() );