Skip to content

Commit

Permalink
ENH: Linux support for vector_container_from_array
Browse files Browse the repository at this point in the history
  • Loading branch information
PranjalSahu committed Jan 31, 2022
1 parent 6925c8c commit 8e0aed0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Wrapping/Generators/Python/itk/support/extras.py
Expand Up @@ -469,7 +469,10 @@ def vector_container_from_array(arr: ArrayLike, ttype=None) -> "itkt.VectorConta
arr = np.asarray(arr)

# Return VectorContainer with 64-bit index type
IndexType = itk.ULL
if os.name == 'nt':
IndexType = itk.ULL
else:
IndexType = itk.UL

# Find container type
if ttype is not None:
Expand Down

0 comments on commit 8e0aed0

Please sign in to comment.