Skip to content

Commit

Permalink
docs: add clarification in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisScoccola committed Nov 15, 2023
1 parent 7fd2ec9 commit 5d63548
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dreimac/emcoords.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def get_representative_cocycle(self, cohomology_class, homological_dimension):
Cohomological birth of the linear combination or single cocycle
cocycle: ndarray(K, homological_dimension+2, dtype=int)
Representative cocycle. First homological_dimension+1 columns are vertex indices,
and last column takes values in finite field corresponding to self._prime
and last column takes values in finite field corresponding to self._prime.
The number of rows K is the number of simplices on which the cocycle is non-zero.
"""

assert isinstance(cohomology_class, int)
Expand Down

0 comments on commit 5d63548

Please sign in to comment.