Commit dd5ffa4e authored by Clément Fumex's avatar Clément Fumex

removal of timelimit when step limit is present

parent c786f7b9
......@@ -461,13 +461,13 @@ let run_external_proof_v3 eS eT a callback =
end else begin
let previous_result = a.proof_state in
let timelimit, memlimit = adapt_limits a in
let stepslimit =
let stepslimit, timelimit =
match a with
| { proof_state =
Done { Call_provers.pr_answer = Call_provers.Valid;
Call_provers.pr_steps = s };
proof_obsolete = false }-> s
| _ -> -1
proof_obsolete = false } when s >= 0 -> s, 0
| _ -> -1, timelimit
in
let inplace = npc.prover_config.Whyconf.in_place in
let command = Whyconf.get_complete_command npc.prover_config in
......
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