Skip to content

Commit

Permalink
Fix scal failing after one doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nims11 committed Apr 17, 2020
1 parent 8d6dfab commit 73034b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CALEngine/src/bmi_para_scal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void BMI_para_scal::record_judgment_batch(vector<pair<string, int>> _judgments){
shuffle(batch.begin(), batch.end(), rand_generator);
for(int i = 0; i < batch.size(); i++){
if(selector[i]) judgment_queue.push_back(batch[i]);
judgments[paragraphs->translate_index(batch[i])] = -2;
else judgments[paragraphs->translate_index(batch[i])] = -2;
}
B = B + ceil(B/10.0);
}
Expand Down

0 comments on commit 73034b0

Please sign in to comment.