Skip to content

Commit

Permalink
~ and not are not not
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecThomson committed Dec 2, 2022
1 parent 7a7cd59 commit 5997879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structurefunction.py
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ def structure_function(
# Get the angular separation of the source pairs

# Check if coords have distance
has_distance = ~issubclass(
has_distance = not issubclass(
coords.data.__class__,
UnitSphericalRepresentation,
)
Expand Down

0 comments on commit 5997879

Please sign in to comment.