Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
zhli1142015 committed Jul 4, 2024
1 parent 3e2fbe0 commit ba8621e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions velox/functions/lib/aggregates/MinMaxAggregateBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,12 @@ const T MaxAggregate<T>::kInitialValue_ = MinMaxTrait<T>::lowest();

// Negative INF is the smallest value of floating point type.
template <>
const float MaxAggregate<float>::kInitialValue_ = -1 *
MinMaxTrait<float>::infinity();
const float MaxAggregate<float>::kInitialValue_ =
-1 * MinMaxTrait<float>::infinity();

template <>
const double MaxAggregate<double>::kInitialValue_ = -1 *
MinMaxTrait<double>::infinity();
const double MaxAggregate<double>::kInitialValue_ =
-1 * MinMaxTrait<double>::infinity();

template <typename T>
class MinAggregate : public MinMaxAggregate<T> {
Expand Down

0 comments on commit ba8621e

Please sign in to comment.