Skip to content

Commit

Permalink
Make SetDomain hash non-commutative
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Jul 30, 2024
1 parent e5f097c commit bc85d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/domain/setDomain.ml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ struct
end
)

let hash x = fold (fun x y -> y + Base.hash x) x 0
let hash x = fold (fun x y -> 13 * y + Base.hash x) x 0

let relift x = map Base.relift x

Expand Down

0 comments on commit bc85d30

Please sign in to comment.