From 581f80785bbabff387b49c042e8631e0271ec22a Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Tue, 13 Mar 2018 09:28:43 +0100
Subject: [PATCH] COMP: std_complex.i doesn't exist for Java

---
 Modules/Wrappers/SWIG/src/itkBase.i | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Modules/Wrappers/SWIG/src/itkBase.i b/Modules/Wrappers/SWIG/src/itkBase.i
index 02d713407c..66cb0d1f50 100644
--- a/Modules/Wrappers/SWIG/src/itkBase.i
+++ b/Modules/Wrappers/SWIG/src/itkBase.i
@@ -54,7 +54,9 @@
 %include <std_string.i>
 %include <std_vector.i>
 %include <std_map.i>
+#if SWIGPYTHON
 %include <std_complex.i>
+#endif
 
 %template(vectorstring)     std::vector< std::string >;
 %template(mapstringstring)  std::map< std::string, std::string >;
-- 
GitLab