Skip to content

Commit

Permalink
Fix numpy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
autra committed Jul 3, 2020
1 parent e97ef63 commit 57e5365
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion py3dtiles/feature_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def from_array(array):
fth : FeatureTableHeader
"""

jsond = json.loads(array.tostring().decode('utf-8'))
jsond = json.loads(array.tobytes().decode('utf-8'))
fth = FeatureTableHeader()

# search position
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
here = os.path.abspath(os.path.dirname(__file__))

requirements = (
'numpy',
'numpy>=1.9.0', # the real requirements is probably higher than that
'pyproj',
'cython',
'triangle',
Expand Down

0 comments on commit 57e5365

Please sign in to comment.