We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 750f1ee commit 39d0a8aCopy full SHA for 39d0a8a
src/solver/td3.ml
@@ -49,7 +49,7 @@ module Base =
49
open SolverBox.Warrow (S.Dom)
50
include Generic.SolverStats (S) (HM)
51
module VS = Set.Make (S.Var)
52
- let exists_key f hm = HM.fold (fun k _ a -> a || f k) hm false
+ let exists_key f hm = HM.exists (fun k _ -> f k) hm
53
54
type solver_data = {
55
st: (S.Var.t * S.Dom.t) list; (* needed to destabilize start functions if their start state changed because of some changed global initializer *)
0 commit comments