Skip to content

Commit

Permalink
Merge pull request #3973 from thewtex/numpy-bool-dep
Browse files Browse the repository at this point in the history
COMP: Replace numpy.bool8 with np.bool_
  • Loading branch information
thewtex committed Mar 22, 2023
2 parents 333f98b + 63fd7e7 commit 7141f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wrapping/Generators/Python/itk/support/types.py
Expand Up @@ -138,7 +138,7 @@ def initialize_c_types_once() -> (
_SS: "itkCType" = itkCType("signed short", "SS", np.int16)
_SI: "itkCType" = itkCType("signed int", "SI", np.int32)
_SLL: "itkCType" = itkCType("signed long long", "SLL", np.int64)
_B: "itkCType" = itkCType("bool", "B", np.bool8)
_B: "itkCType" = itkCType("bool", "B", np.bool_)
return _F, _D, _UC, _US, _UI, _UL, _SL, _LD, _ULL, _SC, _SS, _SI, _SLL, _B


Expand Down

0 comments on commit 7141f37

Please sign in to comment.