aboutsummaryrefslogtreecommitdiffhomepage
path: root/engine/universes.ml
diff options
context:
space:
mode:
authorGravatar Paul Steckler <steck@stecksoft.com>2017-12-05 12:34:06 -0500
committerGravatar Paul Steckler <steck@stecksoft.com>2017-12-05 12:34:06 -0500
commitf53156a6d3819682dc888835abcef2b5320dab1b (patch)
tree5aa9e3f2f0e81e2c962277e3fc075e85924add37 /engine/universes.ml
parente29993c250164b9486d4d7ffdebb9bfee4a2828f (diff)
Rename update to set, fixes #6196
Diffstat (limited to 'engine/universes.ml')
-rw-r--r--engine/universes.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/universes.ml b/engine/universes.ml
index 5ac1bc685..d29e8777d 100644
--- a/engine/universes.ml
+++ b/engine/universes.ml
@@ -459,7 +459,7 @@ module LevelUnionFind = Unionfind.Make (Univ.LSet) (Univ.LMap)
let add_list_map u t map =
try
let l = LMap.find u map in
- LMap.update u (t :: l) map
+ LMap.set u (t :: l) map
with Not_found ->
LMap.add u [t] map
@@ -552,7 +552,7 @@ let normalize_univ_variable_subst subst =
let find l = Univ.LMap.find l !subst in
let update l b =
assert (match Universe.level b with Some l' -> not (Level.equal l l') | None -> true);
- try subst := Univ.LMap.update l b !subst; b with Not_found -> assert false in
+ try subst := Univ.LMap.set l b !subst; b with Not_found -> assert false in
normalize_univ_variable ~find ~update
let normalize_universe_opt_subst subst =