Skip to content

Commit

Permalink
Better comment wording
Browse files Browse the repository at this point in the history
Co-authored-by: Pierrot <[email protected]>
  • Loading branch information
bclement-ocp and Halbaroth authored Sep 29, 2023
1 parent 99f867e commit 6409856
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/reasoners/bitv.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ module Shostak(X : ALIEN) = struct
| { bv = Other _ | Ext _ ; sz } as st :: rst ->
None, if sz > 1 then { st with sz = sz - 1 } :: rst else rst

(* Fills an initial segment of [buf] from [0] to [sz] with a bitvector that is
(* Fills the segment of [buf] from [pos] to [sz] with a bitvector that is
different from all those in [abstracts].
Uninterpreted ("Other" and "Ext") components in [abstracts] are ignored.
Expand All @@ -1353,7 +1353,7 @@ module Shostak(X : ALIEN) = struct
| _, [] -> Bytes.fill buf pos sz '0'
| [], _ -> Bytes.fill buf pos sz '1'
| _, _ ->
(* Prefer searching where there are less candidates. *)
(* Prefer searching where there are more candidates, i.e. less constraints. *)
let x, cx, y, cy =
if nt < nf then t, '1', f, '0' else f, '0', t, '1'
in
Expand Down

0 comments on commit 6409856

Please sign in to comment.