3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00

compilation fix

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2014-04-25 22:03:26 +01:00
parent 0016ba5f3e
commit 8745872d28

View file

@ -581,7 +581,7 @@ lbool sls_engine::operator()() {
} }
/* Andreas: Needed for Armin's restart scheme if we don't want to use loops. /* Andreas: Needed for Armin's restart scheme if we don't want to use loops.
inline double sls_engine::get_restart_armin(unsigned cnt_restarts) double sls_engine::get_restart_armin(unsigned cnt_restarts)
{ {
unsigned outer_id = (unsigned)(0.5 + sqrt(0.25 + 2 * cnt_restarts)); unsigned outer_id = (unsigned)(0.5 + sqrt(0.25 + 2 * cnt_restarts));
unsigned inner_id = cnt_restarts - (outer_id - 1) * outer_id / 2; unsigned inner_id = cnt_restarts - (outer_id - 1) * outer_id / 2;
@ -589,7 +589,7 @@ inline double sls_engine::get_restart_armin(unsigned cnt_restarts)
} }
*/ */
inline unsigned sls_engine::check_restart(unsigned curr_value) unsigned sls_engine::check_restart(unsigned curr_value)
{ {
if (curr_value > m_restart_next) if (curr_value > m_restart_next)
{ {