Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
marin-ma committed Feb 23, 2024
1 parent d9cc76f commit 076d60d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velox/functions/sparksql/DateTimeFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ std::optional<Timestamp> makeTimeStampFromDecodedArgs(
return std::nullopt;
}
auto seconds = micros / util::kMicrosPerSec;
if (seconds > 60 || seconds == 60 && micros % util::kMicrosPerSec != 0) {
if (seconds > 60 || (seconds == 60 && micros % util::kMicrosPerSec != 0)) {
// Invalid microsecond.
return std::nullopt;
}
Expand Down

0 comments on commit 076d60d

Please sign in to comment.