Skip to content

Commit

Permalink
fixed small error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Philipp Reising committed May 30, 2024
1 parent 9677d6a commit 1936dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astrocast/clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -2849,7 +2849,7 @@ def distance_to_similarity(self, distance_matrix, method: Literal['inverse', 'ga
>>> similarity_matrix = TeraHAC.distance_to_similarity(distance_matrix, method='gaussian', sigma=1.0)
"""

if return_same is not None:
if return_same:

similarity_matrix = distance_matrix

Expand Down

0 comments on commit 1936dce

Please sign in to comment.