Commit 34f472e9 authored by Johannes Kanig's avatar Johannes Kanig
Browse files

P509-017 fix incorrect time limits

The adaptation of time limits was incorrect, and could transform "0" (no
time limit) to "1" (second).

* call_provers.ml
(adapt_limit): do nothing when no time limit was present
parent e8665035
......@@ -259,6 +259,8 @@ let actualcommand ~cleanup ~inplace command limit file =
raise e
let adapt_limits limit on_timelimit =
if limit.limit_time = empty_limit.limit_time then limit
else
{ limit with limit_time =
(* for steps limit use 2 * t + 1 time *)
if limit.limit_steps <> empty_limit.limit_steps
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment