Skip to content

Commit

Permalink
Merge pull request #113 from deepanshs/djs/numpy_2.0_compatibility
Browse files Browse the repository at this point in the history
Support for Numpy 2.0 compatibility
  • Loading branch information
deepanshs authored Jun 24, 2024
2 parents 9c8473b + 286eb46 commit 7f880b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion csdmpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
__license__ = "BSD License"
__maintainer__ = "Deepansh J. Srivastava"
__status__ = "Beta"
__version__ = "0.6.0"
__version__ = "0.7.0"

__all__ = [
"parse_dict",
Expand Down
4 changes: 2 additions & 2 deletions csdmpy/dimension/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ def labels(self):
>>> x2 = Dimension(type="labeled", labels=["Cu", "Ag", "Au"])
then the labels along the labeled dimension are
then the labels along the labeled dimensions are
.. doctest::
Expand All @@ -723,7 +723,7 @@ def labels(self):
.. doctest::
>>> np.all(x2.coordinates == x2.labels)
>>> bool(np.all(x2.coordinates == x2.labels))
True
In the above example, ``x2`` is an instance of the :ref:`dim_api` class with
Expand Down
2 changes: 1 addition & 1 deletion docs/startFromScratch/interacting_with_csdm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Dimension reduction methods
>>> minimum = np.min(new_csdm1)
>>> print(minimum)
0.0 K
>>> np.min(new_csdm1) == new_csdm1.min()
>>> bool(np.min(new_csdm1) == new_csdm1.min())
True

.. note:: See the list of all supported :ref:`numpy_support`.

0 comments on commit 7f880b4

Please sign in to comment.