Skip to content
Snippets Groups Projects
Commit 5267f004 authored by Gabriel Müller's avatar Gabriel Müller Committed by David Gobbi
Browse files

Convert np.int8 to VTK_SIGNED_CHAR

parent 2cab0baf
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ def get_vtk_array_type(numpy_array_type):
numpy.uint16:vtkConstants.VTK_UNSIGNED_SHORT,
numpy.uint32:vtkConstants.VTK_UNSIGNED_INT,
numpy.uint64:vtkConstants.VTK_UNSIGNED_LONG_LONG,
numpy.int8:vtkConstants.VTK_CHAR,
numpy.int8:vtkConstants.VTK_SIGNED_CHAR,
numpy.int16:vtkConstants.VTK_SHORT,
numpy.int32:vtkConstants.VTK_INT,
numpy.int64:vtkConstants.VTK_LONG_LONG,
......
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