Skip to content

Commit

Permalink
Removed trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Monsterovich committed Oct 28, 2024
1 parent 90fff54 commit c84bb82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/framework/math_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ static inline WZ_DECL_CONST T clip(T x, T min, T max)
template <typename T>
static inline WZ_DECL_CONST T idiv_round(T numerator, T denominator)
{
return ((numerator < 0) == (denominator < 0))
? ((numerator + denominator / 2) / denominator)
return ((numerator < 0) == (denominator < 0))
? ((numerator + denominator / 2) / denominator)
: ((numerator - denominator / 2) / denominator);
}

Expand Down

0 comments on commit c84bb82

Please sign in to comment.