Skip to content

Commit 99f4866

Browse files
committed
use NPY_CONTINUOUS
1 parent a1cbb44 commit 99f4866

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

talib/_func.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cdef np.ndarray check_array(np.ndarray real):
2222
raise Exception("input array type is not double")
2323
if real.ndim != 1:
2424
raise Exception("input array has wrong dimensions")
25-
if not (PyArray_FLAGS(real) & np.NPY_C_CONTIGUOUS):
25+
if not (PyArray_FLAGS(real) & np.NPY_CONTIGUOUS):
2626
real = PyArray_GETCONTIGUOUS(real)
2727
return real
2828

talib/_ta_lib.c

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)