Skip to content

Commit bfa82ec

Browse files
committed
Add space after if
1 parent 30d20b3 commit bfa82ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mllib/src/test/scala/org/apache/spark/mllib/feature/IDFSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class IDFSuite extends FunSuite with LocalSparkContext {
6767
val idf = new IDF(minDocFreq = 1)
6868
val model = idf.fit(termFrequencies)
6969
val expected = Vectors.dense(Array(0, 3, 1, 2).map { x =>
70-
if(x > 0) {
70+
if (x > 0) {
7171
math.log((m.toDouble + 1.0) / (x + 1.0))
7272
} else {
7373
0

0 commit comments

Comments
 (0)