Skip to content

Commit

Permalink
Update ranking.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mam10eks authored Aug 30, 2024
1 parent 4212946 commit b474715
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ir_axioms/modules/ranking.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,15 @@ def kwiksort(
axiom,
query,
context,
vertices_left
vertices_left,
pivot_selection
)
vertices_right = kwiksort(
axiom,
query,
context,
vertices_right
vertices_right,
pivot_selection
)

return [*vertices_left, pivot, *vertices_right]
Expand Down

0 comments on commit b474715

Please sign in to comment.