Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc648d8 commit 3653946Copy full SHA for 3653946
1 file changed
src/agg_py_path_iterator.h
@@ -39,7 +39,7 @@ class PathIterator
39
(codes_obj.ptr(), PyArray_UINT8, 1, 1);
40
if (!m_codes)
41
throw Py::ValueError("Invalid codes array.");
42
- if (PyArray_DIM(m_codes, 0) != PyArray_DIM(m_vertices, 1))
+ if (PyArray_DIM(m_codes, 0) != PyArray_DIM(m_vertices, 0))
43
throw Py::ValueError("Codes array is wrong length");
44
}
45
0 commit comments