Skip to content
Snippets Groups Projects
Commit b04d18b8 authored by Julianne's avatar Julianne
Browse files

Orthographe

parent a9346eb7
Branches
No related tags found
No related merge requests found
No preview for this file type
......@@ -94,9 +94,9 @@ def construction_mphf(set_kmer, n, gamma=2, nb_niveaux=3):
index = grand_tableau.index(h2)
# récupérer son rang (utiliser la fonction count())
c = grand_tableau[0:index].count(-1)
rang = index - c
rangs = index - c
# ajouter à la mphf [h, rang]
mphf.append((h2, rang))
mphf.append((h2, rangs))
# mettre à jour max_rang
max_rang += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment