Merge branch 'fix-cython-import_array' into install_fixes

This commit is contained in:
Alexander Pitchford 2018-10-19 09:25:48 +01:00
commit 02b5613a10
4 changed files with 19301 additions and 10711 deletions

File diff suppressed because it is too large Load diff

View file

@ -6,6 +6,8 @@ cimport numpy as np
from cython.parallel import prange
cimport cython
np.import_array()
ctypedef np.float64_t DTYPE_t
cdef extern from "stationary_utils.h":

File diff suppressed because it is too large Load diff

View file

@ -9,6 +9,8 @@ from cython.parallel import prange, parallel
cimport numpy as np
cimport scipy.linalg.cython_blas as cblas
np.import_array()
def flat_to_triang(double[:, :] flat, int M):
"""take a matrix N x D and return a D X M x M array where