Skip to content

Commit

Permalink
Set default salt in component_to_hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazz1-dbt committed Dec 18, 2024
1 parent 1febf53 commit e28937c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/matchbox/common/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def diff(self) -> Iterator[tuple[set[T], set[T]]]:


def component_to_hierarchy(
table: pa.Table, dtype: pa.DataType = pa.int32, salt: int | None = None
table: pa.Table, dtype: pa.DataType = pa.int32, salt: int = 1
) -> pa.Table:
"""
Convert pairwise probabilities into a hierarchical representation.
Expand Down

0 comments on commit e28937c

Please sign in to comment.