diff options
author | a1singh <a1singh@ucsd.edu> | 2015-11-05 12:51:10 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-11-05 12:51:10 +0000 |
commit | a94671a027c29bacea37f56b95eccb115638abff (patch) | |
tree | d5cee2e6116eb5eae384fce1db11025838985c1f /licenses/LICENSE-py4j.txt | |
parent | 7bdc92197cce0edc0110dc9c2158e6e3f42c72ee (diff) | |
download | spark-a94671a027c29bacea37f56b95eccb115638abff.tar.gz spark-a94671a027c29bacea37f56b95eccb115638abff.tar.bz2 spark-a94671a027c29bacea37f56b95eccb115638abff.zip |
[SPARK-11506][MLLIB] Removed redundant operation in Online LDA implementation
In file LDAOptimizer.scala:
line 441: since "idx" was never used, replaced unrequired zipWithIndex.foreach with foreach.
- nonEmptyDocs.zipWithIndex.foreach { case ((_, termCounts: Vector), idx: Int) =>
+ nonEmptyDocs.foreach { case (_, termCounts: Vector) =>
Author: a1singh <a1singh@ucsd.edu>
Closes #9456 from a1singh/master.
Diffstat (limited to 'licenses/LICENSE-py4j.txt')
0 files changed, 0 insertions, 0 deletions