diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2018-02-19 09:07:44 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2018-02-19 09:07:44 -0800 |
commit | 76b00a2d3e14efe21a086ec401db4ab08a6f287a (patch) | |
tree | cb95ceedd233b882e246a5298994b769d7d21d27 /src/proof/cec | |
parent | 1d1b11cb65aa3c7811fe81e45c6870018bf25a95 (diff) | |
download | abc-76b00a2d3e14efe21a086ec401db4ab08a6f287a.tar.gz abc-76b00a2d3e14efe21a086ec401db4ab08a6f287a.tar.bz2 abc-76b00a2d3e14efe21a086ec401db4ab08a6f287a.zip |
Compilation problem with pow().
Diffstat (limited to 'src/proof/cec')
-rw-r--r-- | src/proof/cec/cecSplit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/proof/cec/cecSplit.c b/src/proof/cec/cecSplit.c index 24c1e15c..e2fa8ff1 100644 --- a/src/proof/cec/cecSplit.c +++ b/src/proof/cec/cecSplit.c @@ -462,7 +462,7 @@ int Cec_GiaSplitTest2( Gia_Man_t * p, int nProcs, int nTimeOut, int nIterMax, in status = Cnf_GiaSolveOne( pPart, pCnf, nTimeOut, &nSatVars, &nSatConfs ); Cnf_DataFree( pCnf ); if ( status == 1 ) - Progress += 1.0 / pow(2, Depth); + Progress += 1.0 / pow((double)2, (double)Depth); if ( fVerbose ) Cec_GiaSplitPrint( nIter, Depth, nSatVars, nSatConfs, status, Progress, Abc_Clock() - clkTotal ); if ( status == 0 ) // SAT @@ -489,7 +489,7 @@ int Cec_GiaSplitTest2( Gia_Man_t * p, int nProcs, int nTimeOut, int nIterMax, in status = Cnf_GiaSolveOne( pPart, pCnf, nTimeOut, &nSatVars, &nSatConfs ); Cnf_DataFree( pCnf ); if ( status == 1 ) - Progress += 1.0 / pow(2, Depth); + Progress += 1.0 / pow((double)2, (double)Depth); if ( fVerbose ) Cec_GiaSplitPrint( nIter, Depth, nSatVars, nSatConfs, status, Progress, Abc_Clock() - clkTotal ); if ( status == 0 ) // SAT @@ -681,7 +681,7 @@ int Cec_GiaSplitTestInt( Gia_Man_t * p, int nProcs, int nTimeOut, int nIterMax, nIter++; } else - Progress += 1.0 / pow(2, Depth); + Progress += 1.0 / pow((double)2, (double)Depth); Gia_ManStopP( &ThData[i].p ); if ( ThData[i].pCnf == NULL ) continue; |