mirror of
https://github.com/Z3Prover/z3
synced 2025-06-28 08:58:44 +00:00
disable fail restart
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
988a46dbc4
commit
42289c2f44
1 changed files with 3 additions and 5 deletions
|
@ -553,7 +553,7 @@ namespace sls {
|
||||||
|
|
||||||
++num_fail;
|
++num_fail;
|
||||||
|
|
||||||
if (num_fail > 3) {
|
if (num_fail > 3 && false) {
|
||||||
|
|
||||||
ctx.force_restart();
|
ctx.force_restart();
|
||||||
num_fail = 0;
|
num_fail = 0;
|
||||||
|
@ -1822,13 +1822,11 @@ namespace sls {
|
||||||
return a;
|
return a;
|
||||||
if (k == 1)
|
if (k == 1)
|
||||||
return a;
|
return a;
|
||||||
|
if (a <= k)
|
||||||
|
return num_t(1);
|
||||||
SASSERT(k > 1);
|
SASSERT(k > 1);
|
||||||
|
|
||||||
auto x0 = div(a, num_t(k));
|
auto x0 = div(a, num_t(k));
|
||||||
|
|
||||||
if (x0 == 0)
|
|
||||||
return x0;
|
|
||||||
|
|
||||||
auto x1 = div((x0 * num_t(k - 1)) + div(a, power_of(x0, k - 1)), num_t(k));
|
auto x1 = div((x0 * num_t(k - 1)) + div(a, power_of(x0, k - 1)), num_t(k));
|
||||||
|
|
||||||
while (x1 < x0) {
|
while (x1 < x0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue