From 045c1bbe4d8c04224b0ab34e158c8895b109fa01 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Wed, 20 Oct 2010 01:53:44 -0400 Subject: [PATCH] Fix numpy importer. --- src/wrapper/numpy_init.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wrapper/numpy_init.hpp b/src/wrapper/numpy_init.hpp index 3e8a9982..bf62482c 100644 --- a/src/wrapper/numpy_init.hpp +++ b/src/wrapper/numpy_init.hpp @@ -14,11 +14,7 @@ namespace { static bool do_import_array() { -#if PY_VERSION_HEX >= 0x03000000 import_array1(false); -#else - import_array(); -#endif return true; } -- GitLab