Skip to content

Commit

Permalink
modified comment [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
athalhammer committed Jul 16, 2019
1 parent 6f56804 commit a1360ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions danker/danker.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def danker_smallmem(dictionary, right_sorted, iterations, damping, start_value):
:func:`init`).
:return: The same dictionary that was created by :func:`init`. The keys
are the nodes of the graph. The output score is located at
the ``iterations % 2) + 1`` position of the respecive list
the ``(iterations % 2) + 1`` position of the respecive list
(that is the value of the key).
"""
for iteration in range(0, iterations):
Expand Down Expand Up @@ -237,7 +237,7 @@ def danker_bigmem(dictionary, iterations, damping):
:param damping: The PageRank damping factor.
:return: The same dictionary that was created by :func:`init`. The keys
are the nodes of the graph. The output score is located at
the ``iterations % 2) + 1`` position of the respecive list
the ``(iterations % 2) + 1`` position of the respecive list
(that is the value of the key).
"""
for iteration in range(0, iterations):
Expand Down

0 comments on commit a1360ff

Please sign in to comment.