Skip to content
Snippets Groups Projects
Commit eb18b713 authored by David Gobbi's avatar David Gobbi Committed by Kitware Robot
Browse files

Merge topic 'numpy-bool-deprecated'


856829a2 Remove deprecated numpy.bool from type map

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Acked-by: default avatarUtkarsh Ayachit <utkarsh.ayachit@kitware.com>
Merge-request: !8234
parents 46b3eaa7 856829a2
No related merge requests found
......@@ -71,7 +71,7 @@ def get_vtk_array_type(numpy_array_type):
def get_vtk_to_numpy_typemap():
"""Returns the VTK array type to numpy array type mapping."""
_vtk_np = {vtkConstants.VTK_BIT:numpy.bool,
_vtk_np = {vtkConstants.VTK_BIT:numpy.uint8, # conversion not implemented
vtkConstants.VTK_CHAR:numpy.int8,
vtkConstants.VTK_SIGNED_CHAR:numpy.int8,
vtkConstants.VTK_UNSIGNED_CHAR:numpy.uint8,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment