Skip to content

Commit

Permalink
Merge pull request #1099 from daniel-larraz/certif-get-values
Browse files Browse the repository at this point in the history
Use get_var_values to get model in certifChecker
  • Loading branch information
daniel-larraz authored Sep 28, 2024
2 parents fd7e8ab + f3fced0 commit a0ce37b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/certif/certifChecker.ml
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,12 @@ let rec cherry_pick solver trans
(* Not enough invariants *)

(* Get the full model *)
let model = SMTSolver.get_model solver in
let model =
SMTSolver.get_var_values
solver
(TransSys.get_state_var_bounds trans)
(TransSys.vars_of_bounds trans Numeral.zero Numeral.one)
in

(* Evaluation function. *)
let eval term =
Expand Down

0 comments on commit a0ce37b

Please sign in to comment.