aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/micromega/persistent_cache.ml
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2014-03-03 17:49:30 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2014-03-03 18:25:05 +0100
commit19688fcd1b99dae377f908529d3fed3804e95068 (patch)
tree3175bd3b94cd2470511c878986f1c2899d60fa32 /plugins/micromega/persistent_cache.ml
parentb785d468186b4a1e9196b75f759e2e57aabe3be7 (diff)
Fixing some generic equalities in Micromega.
Diffstat (limited to 'plugins/micromega/persistent_cache.ml')
-rw-r--r--plugins/micromega/persistent_cache.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/micromega/persistent_cache.ml b/plugins/micromega/persistent_cache.ml
index 39a1b82b0..a6a45d6ec 100644
--- a/plugins/micromega/persistent_cache.ml
+++ b/plugins/micromega/persistent_cache.ml
@@ -12,7 +12,6 @@
(* *)
(************************************************************************)
-
module type PHashtable =
sig
type 'a t
@@ -172,7 +171,7 @@ let close t =
let add t k e =
let {outch = outch ; status = status ; htbl = tbl} = t in
- if status = Closed
+ if status == Closed
then raise UnboundTable
else
let fd = descr_of_out_channel outch in
@@ -187,7 +186,7 @@ let add t k e =
let find t k =
let {outch = outch ; status = status ; htbl = tbl} = t in
- if status = Closed
+ if status == Closed
then raise UnboundTable
else
let res = Table.find tbl k in