Skip to content
Snippets Groups Projects
Commit 856829a2 authored by David Gobbi's avatar David Gobbi
Browse files

Remove deprecated numpy.bool from type map

parent 9704b66c
No related branches found
No related tags found
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.
Please register or to comment