Skip to content

Commit 89bc368

Browse files
committed
Fixed a Scala style error.
1 parent a2eb14c commit 89bc368

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mllib/src/main/scala/org/apache/spark/mllib/fpm/PrefixSpan.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ class PrefixSpan(
8484
allPatterns
8585
}
8686

87-
private def getAbsoluteMinSupport(sequences: RDD[Array[Int]]): Int = {
87+
private def getAbsoluteMinSupport(sequences: RDD[Array[Int]]): Int = {
8888
val result = if (minSupport <= 0) {
8989
0
90-
}else {
90+
} else {
9191
val count = sequences.count()
9292
val support = if (minSupport <= 1) minSupport else 1
9393
(support * count).toInt

0 commit comments

Comments
 (0)