Skip to content

Commit

Permalink
minor: fixed scalastyle issues reprise
Browse files Browse the repository at this point in the history
  • Loading branch information
manishamde committed Jul 14, 2014
1 parent 4e85f2c commit 2d85a48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ object DecisionTree extends Serializable with Logging {
val result = array.foldLeft(-1, Double.MinValue, 0) {
case ((maxIndex, maxValue, currentIndex), currentValue) =>
if(currentValue > maxValue) (currentIndex, currentValue, currentIndex + 1)
else (maxIndex, maxValue, currentIndex+1)
else (maxIndex, maxValue, currentIndex + 1)
}
if (result._1 < 0) 0 else result._1
}
Expand Down

0 comments on commit 2d85a48

Please sign in to comment.