diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperComplexOutputImageParameter.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperComplexOutputImageParameter.cxx index d4f157e02eb55f5f230e8edfe2bd622ae5801937..2421c4fe81851b4f26f2d41f0a2ade417cbc74e8 100644 --- a/Modules/Wrappers/ApplicationEngine/src/otbWrapperComplexOutputImageParameter.cxx +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperComplexOutputImageParameter.cxx @@ -133,7 +133,7 @@ ComplexOutputImageParameter::Write() } else if (dynamic_cast<ComplexDoubleImageType*>(m_Image.GetPointer())) { - SwitchImageWrite<DoubleImageType>(); + SwitchImageWrite<ComplexDoubleImageType>(); } else if (dynamic_cast<ComplexFloatVectorImageType*>(m_Image.GetPointer())) {