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 95f2ce0 commit 973b913Copy full SHA for 973b913
python/openpose/openpose_python.cpp
@@ -469,7 +469,7 @@ template <> struct type_caster<op::Array<float>> {
469
{
470
UNUSED(defval);
471
if (m.getSize().size() == 0) {
472
- return none();
+ return Py_BuildValue("");
473
}
474
std::string format = format_descriptor<float>::format();
475
return array(buffer_info(
@@ -505,7 +505,7 @@ template <> struct type_caster<op::Array<long long>> {
505
506
507
508
509
510
std::string format = format_descriptor<long long>::format();
511
0 commit comments