forked from pygae/clifford
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep existing repr() results, with numpy>=2.0
In various __repr__() implementations, replace 'list(ndarray)' with 'ndarray.tolist()', in order to avoid inclusion of type information (like 'np.int64(1)') by the latest numpy version. This also fixes test_clifford.TestPrettyRepr and test_transformations pytest-s, as they rely on hardcoded results from IPython.lib.pretty. Note: numpy>=2.0 is allowed by numba>=0.60.
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters