Skip to content

Commit

Permalink
array length bug reported by Simon DeDeo
Browse files Browse the repository at this point in the history
  • Loading branch information
mimno committed Jun 13, 2021
1 parent c7cc309 commit 001beaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cc/mallet/topics/ParallelTopicModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ public void printDenseDocumentTopics(PrintWriter out) {
builder.append("no-name");
}

docLen = currentDocTopics.length;
docLen = topicSequence.size();

// Count up the tokens
for (int token=0; token < docLen; token++) {
Expand Down

0 comments on commit 001beaf

Please sign in to comment.