Skip to content

Commit

Permalink
COMP: Use itk.ULL for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
PranjalSahu authored and hjmjohnson committed Dec 17, 2021
1 parent 2cc4bdb commit 7e59d1b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Modules/Core/Mesh/wrapping/test/itkMeshArrayPixelTypeTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@
mesh = MeshType.New()

# Create Vector Container and Store values in it for each Point
v = itk.VectorContainer[itk.UL, PixelType].New()
# For windows use itk.ULL
if hasattr(itk.VectorContainer, 'ULAD'):
IdentifierType = itk.UL
else:
IdentifierType = itk.ULL

v = itk.VectorContainer[IdentifierType, PixelType].New()
v.Reserve(NumberOfPoints)

for i in range(NumberOfPoints):
Expand Down

0 comments on commit 7e59d1b

Please sign in to comment.