Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Modules/Core/Common/wrapping/vnl_c_vector.wrap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# auto include feature must be disable because the class is not in the file
# with the same name
set(WRAPPER_AUTO_INCLUDE_HEADERS OFF)
itk_wrap_include("vcl_complex.h")
itk_wrap_include("complex")
itk_wrap_include("vnl/vnl_c_vector.h")

itk_wrap_class("vnl_c_vector" EXPLICIT_SPECIALIZATION)
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Common/wrapping/vnl_diag_matrix.wrap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# auto include feature must be disable because the class is not in the file
# with the same name
set(WRAPPER_AUTO_INCLUDE_HEADERS OFF)
itk_wrap_include("vcl_complex.h")
itk_wrap_include("complex")
itk_wrap_include("vnl/vnl_diag_matrix.h")

itk_wrap_class("vnl_diag_matrix" EXPLICIT_SPECIALIZATION)
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Common/wrapping/vnl_matrix.wrap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# auto include feature must be disable because the class is not in the file
# with the same name
set(WRAPPER_AUTO_INCLUDE_HEADERS OFF)
itk_wrap_include("vcl_complex.h")
itk_wrap_include("complex")
itk_wrap_include("vnl/vnl_vector.h")
itk_wrap_include("vnl/vnl_matrix.h")

Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Common/wrapping/vnl_vector.wrap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# auto include feature must be disable because the class is not in the file
# with the same name
set(WRAPPER_AUTO_INCLUDE_HEADERS OFF)
itk_wrap_include("vcl_complex.h")
itk_wrap_include("complex")
itk_wrap_include("vnl/vnl_matrix.h")
itk_wrap_include("vnl/vnl_vector.h")

Expand Down
5 changes: 0 additions & 5 deletions Wrapping/Generators/Python/itkTemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,6 @@ def __add__(self, paramSetString, cl):
# itk::Numerics::Sample -> itkSample
shortNameSize = len(re.sub(r':.*:', '', self.__name__))
attributeName = cl.__name__[shortNameSize:]
elif cl.__name__.startswith("vcl_complex"):
raise AttributeError('former vcl_complex, handling ' + str(cl.__name__))
# C++ name is likely to be std::complex here, instead of the
# expected vcl_complex
attributeName = cl.__name__[len("vcl_complex"):]
else:
shortName = re.sub(r':.*:', '', self.__name__)

Expand Down