Skip to content

Commit

Permalink
Update name of np.sctypeDict (#181)
Browse files Browse the repository at this point in the history
Closes #180
  • Loading branch information
moble authored Aug 30, 2021
1 parent 245e79d commit 6a8dde4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ python), you can install this package simply as
conda install -c conda-forge quaternion
```

If you prefer to use `pip` (which can be run from within a `conda`
environment), you can instead do
If you prefer to use `pip`, you can instead do

```sh
python -m pip install --upgrade --force-reinstall numpy-quaternion
Expand All @@ -113,7 +112,7 @@ Finally, there's also the fully manual option of just downloading the
code, changing to the code directory, and running

```sh
python -m pip install .
python -m pip install --upgrade --force-reinstall .
```

This should work regardless of the installation method, as long as you
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


# Set this first for easier replacement
version = "2021.8.30.10.8.27"
version = "2021.8.30.10.33.11"

if "win" in platform.lower() and not "darwin" in platform.lower():
extra_compile_args = ["/O2"]
Expand Down
4 changes: 2 additions & 2 deletions src/quaternion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (c) 2021, Michael Boyle
# See LICENSE file for details: <https://github.com/moble/quaternion/blob/main/LICENSE>

__version__ = "2021.8.30.10.8.27"
__version__ = "2021.8.30.10.33.11"
__doc_title__ = "Quaternion dtype for NumPy"
__doc__ = "Adds a quaternion dtype to NumPy."
__all__ = ['quaternion',
Expand Down Expand Up @@ -43,7 +43,7 @@
from .means import mean_rotor_in_chordal_metric, optimal_alignment_in_chordal_metric

np.quaternion = quaternion
np.typeDict['quaternion'] = np.dtype(quaternion)
np.sctypeDict['quaternion'] = np.dtype(quaternion)

zero = np.quaternion(0, 0, 0, 0)
one = np.quaternion(1, 0, 0, 0)
Expand Down

0 comments on commit 6a8dde4

Please sign in to comment.