Skip to content

Commit da6caca

Browse files
committed
Deprecacted warning
1 parent dd68cf4 commit da6caca

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ docs/_build
2020
x.*
2121
magics-test/
2222
tests.sh
23+
_build/

Magics/Magics.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ def set1i(name, data):
682682

683683
####################################################################
684684

685-
array_2d_int = ndpointer(dtype=np.int, ndim=2, flags="CONTIGUOUS")
685+
array_2d_int = ndpointer(dtype=int, ndim=2, flags="CONTIGUOUS")
686686
set2i = dll.py_set2i
687687
set2i.restype = None
688688
set2i.argtypes = (c_char_p, array_2d_int, c_int, c_int)

0 commit comments

Comments
 (0)