mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-02 14:45:15 +02:00
np.import_array() added to files where cimport numpy used
This commit is contained in:
parent
4f3047e035
commit
e30ce11804
4 changed files with 19301 additions and 10711 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue