projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added unit_test file
[SXSI/xpathcomp.git]
/
ptset.ml
diff --git
a/ptset.ml
b/ptset.ml
index
673523c
..
3d30f68
100644
(file)
--- a/
ptset.ml
+++ b/
ptset.ml
@@
-82,7
+82,7
@@
let branch_ne = function
let zero_bit k m = (k land m) == 0
-let singleton k =
if k < 0 then failwith "singleton" else
leaf k
+let singleton k = leaf k
let rec mem k n = match n.node with
| Empty -> false