Skip to content

Commit 9260c2b

Browse files
authored
Merge pull request #18 from dzenanz/wrapFloat
ENH: Wrap the class with float transforms
2 parents 3312f9c + c3f7d80 commit 9260c2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ set(ANTsWasm_INCLUDE_DIRS
2828
)
2929

3030
if(NOT ITK_SOURCE_DIR)
31-
find_package(ITK REQUIRED)
31+
find_package(ITK 5.4 REQUIRED) # we need at least 71c5c83 from 2024-02-02 for debug mode
3232
list(APPEND CMAKE_MODULE_PATH ${ITK_CMAKE_DIR})
3333
include(ITKModuleExternal)
3434
else()

wrapping/itkANTsRegistration.wrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ itk_wrap_class("itk::ANTsRegistration" POINTER)
22
foreach(d ${ITK_WRAP_IMAGE_DIMS})
33
foreach(t ${WRAP_ITK_SCALAR})
44
itk_wrap_template("D${ITKM_I${ITKM_${t}}${d}}" "${ITKT_I${ITKM_${t}}${d}}, ${ITKT_I${ITKM_${t}}${d}}, double")
5-
# itk_wrap_template("F${ITKM_I${ITKM_${t}}${d}}" "${ITKT_I${ITKM_${t}}${d}}, ${ITKT_I${ITKM_${t}}${d}}, float") # requires ITK 5.4RC3+
5+
itk_wrap_template("F${ITKM_I${ITKM_${t}}${d}}" "${ITKT_I${ITKM_${t}}${d}}, ${ITKT_I${ITKM_${t}}${d}}, float")
66
endforeach()
77
endforeach()
88
itk_end_wrap_class()

0 commit comments

Comments
 (0)