summaryrefslogtreecommitdiff
path: root/src/utilities/utilities.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utilities/utilities.hpp')
-rw-r--r--src/utilities/utilities.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utilities/utilities.hpp b/src/utilities/utilities.hpp
index 757f1b5e..2c13658b 100644
--- a/src/utilities/utilities.hpp
+++ b/src/utilities/utilities.hpp
@@ -114,6 +114,10 @@ T ConstantOne();
template <typename T>
T ConstantNegOne();
+// Returns the absolute value of a scalar
+template <typename T>
+T AbsoluteValue(const T value);
+
// =================================================================================================
// Structure containing all possible arguments for test clients, including their default values