Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alex W.
VTK
Commits
856829a2
Commit
856829a2
authored
3 years ago
by
David Gobbi
Browse files
Options
Downloads
Patches
Plain Diff
Remove deprecated numpy.bool from type map
parent
9704b66c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Wrapping/Python/vtkmodules/util/numpy_support.py
+1
-1
1 addition, 1 deletion
Wrapping/Python/vtkmodules/util/numpy_support.py
with
1 addition
and
1 deletion
Wrapping/Python/vtkmodules/util/numpy_support.py
+
1
−
1
View file @
856829a2
...
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment