aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/SubstantialRelation.ml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/kernel/SubstantialRelation.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/kernel/SubstantialRelation.ml b/lib/kernel/SubstantialRelation.ml
index 5093ffc..0afc3f7 100644
--- a/lib/kernel/SubstantialRelation.ml
+++ b/lib/kernel/SubstantialRelation.ml
@@ -110,8 +110,7 @@ module Make (S : Abstract.Storage.STORAGE) = struct
let contains_tuple tx relation tuple =
let open Utilities.Result in
let* node = tuple_node tx relation in
- let* present = TupleSet.lookup tx (Concepts.Tuple.hash tuple) node in
- Ok (Option.is_some present)
+ TupleSet.mem tx (Concepts.Tuple.hash tuple) node
let schema_of tx relation =
let open Utilities.Result in