import numpy as np cimport numpy as cnp # Do this, our segfaults will be your destination cnp.import_array() DEF LASP_DOUBLE_PRECISION = "@LASP_DOUBLE_PRECISION@" DEF LASP_DEBUG_CYTHON = "@LASP_DEBUG@" from libcpp cimport bool