Skip to content

Commit

Permalink
moved curly brace to match clang formatting style
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-kottinger committed Feb 24, 2025
1 parent 3659e12 commit e8800b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions au/code/au/math.hh
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ constexpr auto clamp(QuantityPoint<UV, RV> v,
}

template <typename U1, typename R1, typename U2, typename R2>
auto hypot(Quantity<U1, R1> x, Quantity<U2, R2> y)
{
auto hypot(Quantity<U1, R1> x, Quantity<U2, R2> y) {
using U = CommonUnitT<U1, U2>;
return make_quantity<U>(std::hypot(x.in(U{}), y.in(U{})));
}
Expand Down

0 comments on commit e8800b8

Please sign in to comment.