Skip to content

Commit

Permalink
numpy 2.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
nauaneed committed Aug 17, 2024
1 parent 58dd4ad commit 6576710
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions cyarray/carray.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ from libc.stdlib cimport *
from libc.stdint cimport uintptr_t

cimport numpy as np
np.import_array()

import numpy as np

Expand Down
3 changes: 3 additions & 0 deletions cyarray/carray.pyx.mako
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@ from libc.stdlib cimport *
from libc.stdint cimport uintptr_t

cimport numpy as np
np.import_array();

import numpy as np



# logging imports
import logging
logger = logging.getLogger()
Expand Down

0 comments on commit 6576710

Please sign in to comment.