Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Halbaroth committed Apr 2, 2024
1 parent 45e7a27 commit 153423e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/lib/reasoners/satml.ml
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,8 @@ module Make (Th : Theory.S) : SAT_ML with type th = Th.t = struct
(* annule tout jusqu'a lvl *exclu* *)
let cancel_until env lvl =
P.debug (fun k ->
k"cancel until level %d (current level is %d)" lvl (decision_level env));
k"cancel until level %d (current level is %d)" lvl
(decision_level env));
cancel_ff_lvls_until env lvl;
let repush = ref [] in
if decision_level env > lvl then begin
Expand Down
10 changes: 6 additions & 4 deletions src/lib/reasoners/shostak.ml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@ struct
let pp_index ppf i = Fmt.pf ppf "<%d" i in
let pp_binding ppf (p, v) = Fmt.pf ppf "%a |-> %a" print p print v in
P.debug (fun k -> k"%s subst:@ %a" msg
Fmt.(iter_bindings List.iteri (pair ~sep:(const string ") ")
pp_index pp_binding) |> box) sbs
)
Fmt.(iter_bindings List.iteri
(pair ~sep:(const string ") ") pp_index pp_binding)
|> box)
sbs)

let debug_abstraction_result oa ob a b acc =
let pp_index ppf i = Fmt.pf ppf "(%d)" i in
Expand All @@ -117,7 +118,8 @@ struct
selector elimination result:@ @[<v 2>%a@]@]"
CX.print oa CX.print ob
CX.print a CX.print b
Fmt.(iter_bindings List.iteri (pair ~sep:sp pp_index pp_binding) |> box)
Fmt.(iter_bindings List.iteri
(pair ~sep:sp pp_index pp_binding) |> box)
acc
)

Expand Down

0 comments on commit 153423e

Please sign in to comment.