diff --git a/Lib/python/std_complex.i b/Lib/python/std_complex.i index f3ef1e39a..4e8fed305 100644 --- a/Lib/python/std_complex.i +++ b/Lib/python/std_complex.i @@ -4,20 +4,16 @@ %include - - %{ #include %} /* defining the complex as/from converters */ -%swig_cplxdbl_convn(std::complex, - std::complex, std::real, std::imag) - -%swig_cplxflt_convn(std::complex, - std::complex, std::real, std::imag) +%swig_cplxdbl_convn(std::complex, std::complex, std::real, std::imag) +%swig_cplxflt_convn(std::complex, std::complex, std::real, std::imag) +/* defining the typemaps */ %typemaps_primitive(%checkcode(CPLXDBL), std::complex); %typemaps_primitive(%checkcode(CPLXFLT), std::complex);