aboutsummaryrefslogtreecommitdiffstats
path: root/Hilbert/Operations.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Hilbert/Operations.hpp')
-rw-r--r--Hilbert/Operations.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Hilbert/Operations.hpp b/Hilbert/Operations.hpp
index 9f9cd0b..1413518 100644
--- a/Hilbert/Operations.hpp
+++ b/Hilbert/Operations.hpp
@@ -24,6 +24,8 @@
#include <cstddef>
#include <type_traits>
+namespace Hilbert {
+
/// IntegralIndex<T> only exists if T is integral
template <typename T>
using IntegralIndex = std::enable_if_t<std::is_integral<T>::value, int>;
@@ -85,4 +87,6 @@ ffs<unsigned long long>(const unsigned long long field)
return __builtin_ffsll(field);
}
+} // namespace Hilbert
+
#endif