Skip to content

Commit

Permalink
Change DTYPE_BOOL from np.bool to np.bool_
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolmw committed Jan 30, 2023
1 parent fae3b9c commit d535fd0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@
jupyter/.ipynb_checkpoints
scripts/eq_loc/test_data
*.log
*.cpp
*.c
build
dist
pykonal.egg-info
pykonal/__pycache__
2 changes: 1 addition & 1 deletion pykonal/__version__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__major_version__ = 0
__minor_version__ = 3
__patch__ = 2
__release__ = "b3"
__release__ = "b4"
__version_tuple__ = (
__major_version__,
__minor_version__,
Expand Down
2 changes: 1 addition & 1 deletion pykonal/constants.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import numpy as np
DTYPE_REAL = np.float64
DTYPE_UINT = np.uint32
DTYPE_INT = np.int32
DTYPE_BOOL = np.bool
DTYPE_BOOL = np.bool_

EARTH_RADIUS = 6371.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
import io
import numpy as np
import os
from distutils.core import setup
#from distutils.core import setup
from setuptools import setup
from Cython.Build import cythonize


# Package meta-data.
name = "pykonal"
description = "Solve the Eikonal equation in 3D Cartesian or spherical coordinates."
url = "https://github.com/malcolmw/pykonal"
email = "malcolm.white@.usc.edu"
email = "malcolmw@mit.edu"
author = "Malcolm C. A. White"
requires_python = ">=3"
packages = ["pykonal"]
Expand Down

0 comments on commit d535fd0

Please sign in to comment.