From a65684b04991266554405deb4f0f65cfc3887443 Mon Sep 17 00:00:00 2001 From: hindsights Date: Tue, 19 Dec 2017 17:38:53 +0800 Subject: [PATCH] fix subscript error in multithreaded_srl --- src/console/srl_cmdline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/console/srl_cmdline.cpp b/src/console/srl_cmdline.cpp index 8ab29337f..883fc0f71 100644 --- a/src/console/srl_cmdline.cpp +++ b/src/console/srl_cmdline.cpp @@ -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; } }