File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -954,13 +954,14 @@ module Make (M_with_make : M_with_make) : S_with_fresh = struct
954954 M.Solver. check s.solver ~ctx ~assumptions: encoded_assuptions )
955955 M.Internals. name (List. rev assumptions)
956956
957- let model { solver; last_ctx; assumptions; _ } =
957+ let model { solver; last_ctx; assumptions; last_assumptions; _ } =
958958 match last_ctx with
959959 | Some ctx ->
960960 Utils. run_and_log_query ~model: true
961961 (fun () ->
962962 M.Solver. model solver |> Option. map (fun m -> { model = m; ctx }) )
963- M.Internals. name (List. rev assumptions)
963+ M.Internals. name
964+ (List. rev_append assumptions (List. rev last_assumptions))
964965 | None ->
965966 Fmt. failwith " model: Trying to fetch model before check-sat call"
966967
You can’t perform that action at this time.
0 commit comments