Skip to content

Commit

Permalink
Some -> Option
Browse files Browse the repository at this point in the history
  • Loading branch information
abellina committed Apr 15, 2021
1 parent b1ef5d4 commit e0e89a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ case class GpuAverage(child: Expression) extends GpuDeclarativeAggregate
// This is to conform with Spark's behavior in the Average aggregate function.
override lazy val evaluateExpression: GpuExpression = GpuDivide(
GpuCast(cudfSum, DoubleType),
GpuCast(cudfCount, DoubleType), Some(false))
GpuCast(cudfCount, DoubleType), Option(false))

override lazy val initialValues: Seq[GpuLiteral] = Seq(
GpuLiteral(0.0, DoubleType),
Expand Down

0 comments on commit e0e89a8

Please sign in to comment.