nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: Tests emscripten
[nit.git]
/
lib
/
perfect_hashing.nit
diff --git
a/lib/perfect_hashing.nit
b/lib/perfect_hashing.nit
index
9ac59f3
..
a4b8417
100644
(file)
--- a/
lib/perfect_hashing.nit
+++ b/
lib/perfect_hashing.nit
@@
-35,7
+35,7
@@
class Perfecthashing
do
# By default, all identifiers are available
interval = new List[Couple[nullable Int, nullable Int]]
do
# By default, all identifiers are available
interval = new List[Couple[nullable Int, nullable Int]]
- interval.push(new Couple[nullable Int, nullable Int](0, null))
+ interval.push(new Couple[nullable Int, nullable Int](1, null))
tempht = new Array[nullable Int]
end
tempht = new Array[nullable Int]
end