diff --git a/src/Math/Functions.h b/src/Math/Functions.h index 42ab8991d..f5af1e56a 100644 --- a/src/Math/Functions.h +++ b/src/Math/Functions.h @@ -164,8 +164,7 @@ template Vector max(const Vector& a /** @brief Sign -Returns `1.0` if @f$ x > 0 @f$, `0.0` if @f$ @p x = 0 @f$ and `-1.0` if -@f$ x < 0 @f$. +Returns `1` if @p x > 0, `0` if @p x = 0 and `-1` if @p x < 0. */ #ifdef DOXYGEN_GENERATING_OUTPUT template inline T sign(const T scalar);