Skip to content

Commit 815d001

Browse files
committed
fixed minor bug
1 parent b213dde commit 815d001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp_module.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static PyObject* test_image_processing_OCV(PyObject* self, PyObject* args) {
6262
return nullptr;
6363
}
6464

65-
shape = PyArray_SHAPE(input_image);
65+
npy_intp* shape = PyArray_SHAPE(input_image);
6666

6767
char* in_buf = static_cast<char*>(PyArray_DATA(input_image)); // PyArray_DATA() will return void*
6868

0 commit comments

Comments
 (0)