Skip to content

Commit 9c51eef

Browse files
author
DB Tsai
committed
style
1 parent fc795e4 commit 9c51eef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mllib/src/main/scala/org/apache/spark/mllib/feature/StandardScaler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class StandardScalerModel private[mllib] (
102102
case dv: DenseVector =>
103103
val values = dv.values.clone()
104104
var i = 0
105-
if(withStd) {
105+
if (withStd) {
106106
val localFactor = factor
107107
while (i < values.length) {
108108
values(i) = (values(i) - localShift(i)) * localFactor(i)

0 commit comments

Comments
 (0)