Skip to content

Commit

Permalink
MAINT:linalg: Add cnp.import_array() to expm pyx file
Browse files Browse the repository at this point in the history
  • Loading branch information
ilayn committed Mar 15, 2022
1 parent a6f95ff commit 41b9362
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scipy/linalg/_matfuncs_expm.pyx.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ from scipy.linalg.cython_blas cimport (sgemm, saxpy, sscal, scopy, sgemv,

__all__ = ['pick_pade_structure', 'pade_UV_calc']

# See GH-14813
cnp.import_array()

ctypedef fused lapack_t:
float
double
Expand Down

0 comments on commit 41b9362

Please sign in to comment.