提交 3b6069b7 编写于 作者: H haonanyu

fix ids reverse order in fillGenOutputs

上级 6bbc9a5c
...@@ -1344,7 +1344,7 @@ void RecurrentGradientMachine::fillGenOutputs() { ...@@ -1344,7 +1344,7 @@ void RecurrentGradientMachine::fillGenOutputs() {
CHECK(!finalPaths_[i].empty()); CHECK(!finalPaths_[i].empty());
Path& path = finalPaths_[i][0]; Path& path = finalPaths_[i][0];
generator_.ids.insert( generator_.ids.insert(
generator_.ids.begin(), path.ids.begin(), path.ids.end()); generator_.ids.end(), path.ids.begin(), path.ids.end());
starts[i + 1] = starts[i] + path.ids.size(); starts[i + 1] = starts[i] + path.ids.size();
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册