提交 a507845a 编写于 作者: J JiabinYang

test=develop

上级 99d1446a
...@@ -159,7 +159,7 @@ class CustomCode : public Code { ...@@ -159,7 +159,7 @@ class CustomCode : public Code {
for (int i = 0; i < static_cast<int>(ptable_->dims()[1]); i++) { for (int i = 0; i < static_cast<int>(ptable_->dims()[1]); i++) {
if (ptable_->data<R>()[index_ * static_cast<int>(ptable_->dims()[1]) + if (ptable_->data<R>()[index_ * static_cast<int>(ptable_->dims()[1]) +
i] != -1) { i] >= 0) {
length++; length++;
} else { } else {
return length; return length;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册