parent
cf3d995e8c
commit
d3f17c1dca
|
@ -433,7 +433,7 @@ inline T max(T a, T b) {
|
|||
|
||||
template <typename T>
|
||||
inline T sign(T x) {
|
||||
return static_cast<T>(x < 0 ? -1 : 1);
|
||||
return static_cast<T>(SIGN(x));
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
|
Loading…
Reference in New Issue