summaryrefslogtreecommitdiff
path: root/lib/include/wolff/graph.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/include/wolff/graph.hpp')
-rw-r--r--lib/include/wolff/graph.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/include/wolff/graph.hpp b/lib/include/wolff/graph.hpp
index 0aeb6af..fcd73fa 100644
--- a/lib/include/wolff/graph.hpp
+++ b/lib/include/wolff/graph.hpp
@@ -1,5 +1,6 @@
-#pragma once
+#ifndef WOLFF_GRAPH_H
+#define WOLFF_GRAPH_H
#include <cmath>
#include <vector>
@@ -15,10 +16,12 @@ class graph_t {
public:
v_t ne;
v_t nv;
- std::vector<std::vector<v_t>> v_adj;
+ std::vector<std::vector<v_t>> adj;
std::vector<std::vector<double>> coordinate;
graph_t(D_t D, L_t L, lattice_t lat = SQUARE_LATTICE);
void add_ext();
};
+#endif
+