summaryrefslogtreecommitdiff
path: root/lib/include/wolff/models/potts.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/include/wolff/models/potts.hpp')
-rw-r--r--lib/include/wolff/models/potts.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/include/wolff/models/potts.hpp b/lib/include/wolff/models/potts.hpp
index 3d0a0e9..a0cb368 100644
--- a/lib/include/wolff/models/potts.hpp
+++ b/lib/include/wolff/models/potts.hpp
@@ -1,13 +1,15 @@
-#pragma once
+#ifndef WOLFF_MODELS_POTTS_H
+#define WOLFF_MODELS_POTTS_H
#include <cmath>
-#include "../types.h"
#include "vector.hpp"
namespace wolff {
+#include "../types.h"
+
template <q_t q>
class potts_t {
public:
@@ -62,3 +64,5 @@ inline typename potts_t<q>::F_t operator*(double a, const potts_t<q>& s) {
}
+#endif
+