Skip to content

Commit 43235f4

Browse files
committed
Update PearsonCorrelation.scala
1 parent f7287ee commit 43235f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mllib/src/main/scala/org/apache/spark/mllib/stat/correlation/PearsonCorrelation.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,6 @@ private[stat] object PearsonCorrelation extends Correlation with Logging {
102102
}
103103

104104
private def closeToZero(value: Double, threshold: Double = 1e-12): Boolean = {
105-
math.abs(value) <= threshhold
105+
math.abs(value) <= threshold
106106
}
107107
}

0 commit comments

Comments
 (0)