Modification of the numbering in perfect_hashing.
[nit.git] / lib / perfect_hashing.nit
index 9ac59f3..a4b8417 100644 (file)
@@ -35,7 +35,7 @@ class Perfecthashing
        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