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:
parent
23dccdc7d5
commit
39b562da44
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue