Skip to content

Commit

Permalink
BUG: adjust copy semantics for compatibility with numpy 2 (#1145)
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros authored Jul 23, 2024
1 parent a6fd06f commit 92c9609
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions specutils/utils/quantity_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
__all__ = ['QuantityModel']
_NUMPY_COPY_IF_NEEDED = False if np.__version__.startswith("1.") else None

_NUMPY_COPY_IF_NEEDED = False if np.__version__.startswith("1.") else None


class QuantityModel:
"""
Expand Down

0 comments on commit 92c9609

Please # to comment.