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 1a2fcfe commit 4fb217bCopy full SHA for 4fb217b
1 file changed
src/agg_py_path_iterator.h
@@ -40,7 +40,7 @@ class PathIterator
40
throw Py::ValueError("Invalid codes array.");
41
}
42
43
- m_should_simplify = bool(Py::Int(should_simplify_obj));
+ m_should_simplify = should_simplify_obj.isTrue();
44
m_total_vertices = m_vertices->dimensions[0];
45
46
0 commit comments