Skip to content

Commit

Permalink
BUG: ElementType with PolyLineParametricPath ContinuousIndex
Browse files Browse the repository at this point in the history
This needs to be set to double. Previous values result in a value like
SL, which results in incorrect values.
  • Loading branch information
thewtex committed May 1, 2024
1 parent b5b105d commit f4b0386
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Modules/Bridge/NumPy/wrapping/itkPyVectorContainer.wrap
Expand Up @@ -57,6 +57,7 @@ foreach(d ${ITK_WRAP_IMAGE_DIMS})
file(READ ${CMAKE_CURRENT_BINARY_DIR}/PyVectorContainerBuffer.i.temp PyBufferInterfaceTemp)
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/PyBuffer.i ${PyBufferInterfaceTemp})

set(ElementType D)
itk_wrap_template("${ITKM_UI}${ITKM_CID${d}}" "${ITKT_UI},${ITKT_CID${d}}")
set(PyVectorContainerTypes ${ITKM_UI}${ITKM_CID${d}})
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/PyVectorContainerBuffer.i.in
Expand Down

0 comments on commit f4b0386

Please sign in to comment.