Skip to content

Commit

Permalink
Fix interpretation_timelimit initialisation
Browse files Browse the repository at this point in the history
  • Loading branch information
ACoquereau authored and iguerNL committed Mar 23, 2021
1 parent 202c768 commit b534dc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/common/parse_command.ml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ let mk_limit_opt age_bound fm_cross_limit timelimit_interpretation
else
let fm_cross_limit = Numbers.Q.from_string fm_cross_limit in
let timelimit = set_limit timelimit 0. in
let timelimit_interpretation = set_limit timelimit_interpretation 1. in
let timelimit_interpretation = set_limit timelimit_interpretation 0. in
set_age_bound age_bound;
set_fm_cross_limit fm_cross_limit;
set_timelimit_interpretation timelimit_interpretation;
Expand Down
3 changes: 2 additions & 1 deletion src/lib/util/options.ml
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ let age_bound = ref 50
let fm_cross_limit = ref (Numbers.Q.from_int 10_000)
let steps_bound = ref (-1)
let timelimit = ref 0.
let timelimit_interpretation = ref (if Sys.win32 then 0. else 1.)
(* let timelimit_interpretation = ref (if Sys.win32 then 0. else 1.) *)
let timelimit_interpretation = ref 0.
let timelimit_per_goal = ref false

let set_age_bound i = age_bound := i
Expand Down

0 comments on commit b534dc9

Please sign in to comment.