Skip to content

Commit

Permalink
Add comment to remove rank
Browse files Browse the repository at this point in the history
  • Loading branch information
reiniscirpons authored and james-d-mitchell committed Aug 30, 2024
1 parent 1305081 commit 24e824a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gap/attr.gi
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,8 @@ InstallMethod(SparseIntKey, "for an object and digraph",
# To make orb package use DigraphHash
InstallMethod(ChooseHashFunction, "for a digraph and positive integer",
[IsDigraph, IsInt],
# TODO: (reiniscirpons) remove the rank when new semigroups version gets
# released.
2,
{D, hashlen} -> rec(func := {x, data} -> 1 + (DigraphHash(x) mod data[1]),
data := [hashlen])
Expand Down

0 comments on commit 24e824a

Please sign in to comment.