diff --git a/auto/Wrap/libBornAgainBase_wrap.cpp b/auto/Wrap/libBornAgainBase_wrap.cpp
index 6ae8c6aade5ff81df41ef8eb77b255962d531d02..00a75c401f0fa65f4ba080fbbcdea6a487819ccb 100644
--- a/auto/Wrap/libBornAgainBase_wrap.cpp
+++ b/auto/Wrap/libBornAgainBase_wrap.cpp
@@ -4393,18 +4393,6 @@ SWIGINTERNINLINE PyObject*
 
 
 #define SWIG_FILE_WITH_INIT
-/* NOTE: Using `PY_ARRAY_UNIQUE_SYMBOL` one can use
-   the Numpy Array API in multiple files for a single extension module.
-*/
-#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
-
-
-#ifndef SWIG_FILE_WITH_INIT
-#define NO_IMPORT_ARRAY
-#endif
-#include "stdio.h"
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-#include <numpy/arrayobject.h>
 
 
 namespace swig {
@@ -31852,11 +31840,6 @@ SWIG_init(void) {
   
   SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
   
-  if(!PyArray_API) {
-    import_array();
-  }
-  
-  
   // thread safe initialization
   swig::container_owner_attribute();
   
diff --git a/auto/Wrap/libBornAgainDevice_wrap.cpp b/auto/Wrap/libBornAgainDevice_wrap.cpp
index 2a43ee473e60e6761c4bde815a805c81aa1ff064..01b9cdb1374b0e41cfdc9aa360e8dbd297290e40 100644
--- a/auto/Wrap/libBornAgainDevice_wrap.cpp
+++ b/auto/Wrap/libBornAgainDevice_wrap.cpp
@@ -4422,18 +4422,6 @@ SWIGINTERNINLINE PyObject*
 
 
 #define SWIG_FILE_WITH_INIT
-/* NOTE: Using `PY_ARRAY_UNIQUE_SYMBOL` one can use
-   the Numpy Array API in multiple files for a single extension module.
-*/
-#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
-
-
-#ifndef SWIG_FILE_WITH_INIT
-#define NO_IMPORT_ARRAY
-#endif
-#include "stdio.h"
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-#include <numpy/arrayobject.h>
 
 
 namespace swig {
@@ -45018,11 +45006,6 @@ SWIG_init(void) {
   
   SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
   
-  if(!PyArray_API) {
-    import_array();
-  }
-  
-  
   // thread safe initialization
   swig::container_owner_attribute();
   
diff --git a/auto/Wrap/libBornAgainFit_wrap.cpp b/auto/Wrap/libBornAgainFit_wrap.cpp
index de7b564e88ece593caa0eaa27557b1e7dd058035..9d339c117dd29462445989583d2225a14cd01f3a 100644
--- a/auto/Wrap/libBornAgainFit_wrap.cpp
+++ b/auto/Wrap/libBornAgainFit_wrap.cpp
@@ -4393,18 +4393,6 @@ SWIGINTERNINLINE PyObject*
 
 
 #define SWIG_FILE_WITH_INIT
-/* NOTE: Using `PY_ARRAY_UNIQUE_SYMBOL` one can use
-   the Numpy Array API in multiple files for a single extension module.
-*/
-#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
-
-
-#ifndef SWIG_FILE_WITH_INIT
-#define NO_IMPORT_ARRAY
-#endif
-#include "stdio.h"
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-#include <numpy/arrayobject.h>
 
 
 namespace swig {
@@ -30817,11 +30805,6 @@ SWIG_init(void) {
   
   SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
   
-  if(!PyArray_API) {
-    import_array();
-  }
-  
-  
   // thread safe initialization
   swig::container_owner_attribute();
   
diff --git a/auto/Wrap/libBornAgainParam_wrap.cpp b/auto/Wrap/libBornAgainParam_wrap.cpp
index 0f09e97698771bceca83df6209a468c8ace98b03..6876d9893cf1706783ec8cd9136543919ad53f9b 100644
--- a/auto/Wrap/libBornAgainParam_wrap.cpp
+++ b/auto/Wrap/libBornAgainParam_wrap.cpp
@@ -4393,18 +4393,6 @@ SWIGINTERNINLINE PyObject*
 
 
 #define SWIG_FILE_WITH_INIT
-/* NOTE: Using `PY_ARRAY_UNIQUE_SYMBOL` one can use
-   the Numpy Array API in multiple files for a single extension module.
-*/
-#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
-
-
-#ifndef SWIG_FILE_WITH_INIT
-#define NO_IMPORT_ARRAY
-#endif
-#include "stdio.h"
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-#include <numpy/arrayobject.h>
 
 
 namespace swig {
@@ -34364,11 +34352,6 @@ SWIG_init(void) {
   
   SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
   
-  if(!PyArray_API) {
-    import_array();
-  }
-  
-  
   // thread safe initialization
   swig::container_owner_attribute();
   
diff --git a/auto/Wrap/libBornAgainResample_wrap.cpp b/auto/Wrap/libBornAgainResample_wrap.cpp
index 5a60900fc7c41efeaa360a4cd04eda8302b2a4e3..14b0b92e55a4e534d2b91d73d99aa61e5a8fa0cd 100644
--- a/auto/Wrap/libBornAgainResample_wrap.cpp
+++ b/auto/Wrap/libBornAgainResample_wrap.cpp
@@ -4387,18 +4387,6 @@ SWIGINTERNINLINE PyObject*
 
 
 #define SWIG_FILE_WITH_INIT
-/* NOTE: Using `PY_ARRAY_UNIQUE_SYMBOL` one can use
-   the Numpy Array API in multiple files for a single extension module.
-*/
-#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
-
-
-#ifndef SWIG_FILE_WITH_INIT
-#define NO_IMPORT_ARRAY
-#endif
-#include "stdio.h"
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-#include <numpy/arrayobject.h>
 
 
 namespace swig {
@@ -31140,11 +31128,6 @@ SWIG_init(void) {
   
   SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
   
-  if(!PyArray_API) {
-    import_array();
-  }
-  
-  
   // thread safe initialization
   swig::container_owner_attribute();
   
diff --git a/auto/Wrap/libBornAgainSample_wrap.cpp b/auto/Wrap/libBornAgainSample_wrap.cpp
index 01800e6efeb9e33a1989952cec22a00616de3d92..92d7e613b3c8a1b69fc8780327e08b4ee64f0c76 100644
--- a/auto/Wrap/libBornAgainSample_wrap.cpp
+++ b/auto/Wrap/libBornAgainSample_wrap.cpp
@@ -4504,18 +4504,6 @@ SWIGINTERNINLINE PyObject*
 
 
 #define SWIG_FILE_WITH_INIT
-/* NOTE: Using `PY_ARRAY_UNIQUE_SYMBOL` one can use
-   the Numpy Array API in multiple files for a single extension module.
-*/
-#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
-
-
-#ifndef SWIG_FILE_WITH_INIT
-#define NO_IMPORT_ARRAY
-#endif
-#include "stdio.h"
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-#include <numpy/arrayobject.h>
 
 
 namespace swig {
@@ -78260,11 +78248,6 @@ SWIG_init(void) {
   
   SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
   
-  if(!PyArray_API) {
-    import_array();
-  }
-  
-  
   // thread safe initialization
   swig::container_owner_attribute();
   
diff --git a/auto/Wrap/libBornAgainSim_wrap.cpp b/auto/Wrap/libBornAgainSim_wrap.cpp
index ac499a6361c946205f8a4b58231c2086f9e046ba..a5ad5deb549a52b102ba243207d80d4e57cccc0c 100644
--- a/auto/Wrap/libBornAgainSim_wrap.cpp
+++ b/auto/Wrap/libBornAgainSim_wrap.cpp
@@ -4426,18 +4426,6 @@ SWIGINTERNINLINE PyObject*
 
 
 #define SWIG_FILE_WITH_INIT
-/* NOTE: Using `PY_ARRAY_UNIQUE_SYMBOL` one can use
-   the Numpy Array API in multiple files for a single extension module.
-*/
-#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
-
-
-#ifndef SWIG_FILE_WITH_INIT
-#define NO_IMPORT_ARRAY
-#endif
-#include "stdio.h"
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-#include <numpy/arrayobject.h>
 
 
 namespace swig {
@@ -40893,11 +40881,6 @@ SWIG_init(void) {
   
   SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
   
-  if(!PyArray_API) {
-    import_array();
-  }
-  
-  
   // thread safe initialization
   swig::container_owner_attribute();