summaryrefslogtreecommitdiff
path: root/geom_matching/wasserstein/include/dnn/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'geom_matching/wasserstein/include/dnn/utils.h')
-rw-r--r--geom_matching/wasserstein/include/dnn/utils.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/geom_matching/wasserstein/include/dnn/utils.h b/geom_matching/wasserstein/include/dnn/utils.h
index 83c2865..bbce793 100644
--- a/geom_matching/wasserstein/include/dnn/utils.h
+++ b/geom_matching/wasserstein/include/dnn/utils.h
@@ -1,10 +1,14 @@
-#ifndef DNN_UTILS_H
-#define DNN_UTILS_H
+#ifndef HERA_WS_DNN_UTILS_H
+#define HERA_WS_DNN_UTILS_H
#include <boost/random/uniform_int.hpp>
#include <boost/foreach.hpp>
#include <boost/typeof/typeof.hpp>
+namespace hera
+{
+namespace ws
+{
namespace dnn
{
@@ -36,6 +40,8 @@ void random_shuffle(RandomIt first, RandomIt last, UniformRandomNumberGenerator&
random_shuffle(first, last, g, [](T& x, T& y) { std::swap(x,y); });
}
-}
+} // dnn
+} // ws
+} // hera
#endif