Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JihongMA committed Nov 4, 2015
1 parent 57eeeed commit 402971c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,7 @@ case class Skewness(child: Expression,
val m2 = moments(2)
val m3 = moments(3)
if (n == 0.0 || m2 == 0.0) {
null
null
} else {
math.sqrt(n) * m3 / math.sqrt(m2 * m2 * m2)
}
Expand Down Expand Up @@ -1291,7 +1291,7 @@ case class Kurtosis(child: Expression,
val m2 = moments(2)
val m4 = moments(4)
if (n == 0.0 || m2 == 0.0) {
null
null
} else {
n * m4 / (m2 * m2) - 3.0
}
Expand Down

0 comments on commit 402971c

Please sign in to comment.