Skip to content

Commit

Permalink
Merge pull request HIT-SCIR#273 from hindsights/develop
Browse files Browse the repository at this point in the history
fix subscript error in multithreaded_srl
  • Loading branch information
liu946 authored Dec 19, 2017
2 parents 93b33d7 + a65684b commit 628854f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/console/srl_cmdline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void multithreaded_srl(void *args) {
for (int k = 0; k < vecSRLResult.size(); ++k) {
is_pred[vecSRLResult[k].first] = true;
for (int j = 0; j < vecSRLResult[k].second.size(); ++j) {
arg[findRoot(parse, vecSRLResult[k].second[j].second)][k] = vecSRLResult[k].second[k].first;
arg[findRoot(parse, vecSRLResult[k].second[j].second)][k] = vecSRLResult[k].second[j].first;
}
}

Expand Down

0 comments on commit 628854f

Please sign in to comment.