summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--space_wolff.hpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/space_wolff.hpp b/space_wolff.hpp
index cc4cd4f..211e647 100644
--- a/space_wolff.hpp
+++ b/space_wolff.hpp
@@ -138,7 +138,7 @@ public:
void insert(Spin<T, D, S>* s) { data[ind(s->x)].insert(s); };
- void remove( Spin<T, D, S>* s) { data[ind(s->x)].erase(s); };
+ void remove(Spin<T, D, S>* s) { data[ind(s->x)].erase(s); };
std::set<Spin<T, D, S>*> neighbors(const Vector<T, D>& x, unsigned depth) const {
std::set<Spin<T, D, S>*> ns;
@@ -251,10 +251,12 @@ template <class U, int D, class S>
public:
virtual void pre_cluster(const Model<U, D, S>&, unsigned, const Euclidean<U, D>&) {};
virtual void plain_bond_visited(const Model<U, D, S>&, const X_t&, double) {};
- virtual void plain_site_transformed(const system<R_t, X_t, G_t>&, const typename G_t::vertex& v, const X_t&) {};
+ virtual void plain_site_transformed(const system<R_t, X_t, G_t>&, const typename G_t::vertex&
+v, const X_t&) {};
- virtual void ghost_bond_visited(const system<R_t, X_t, G_t>&, const typename G_t::vertex& v, const X_t&, const X_t&, double) {};
- virtual void ghost_site_transformed(const system<R_t, X_t, G_t>&, const R_t&) {};
+ virtual void ghost_bond_visited(const system<R_t, X_t, G_t>&, const typename G_t::vertex& v,
+const X_t&, const X_t&, double) {}; virtual void ghost_site_transformed(const system<R_t, X_t,
+G_t>&, const R_t&) {};
virtual void post_cluster(unsigned, unsigned, const system<R_t, X_t, G_t>&) {};
};
@@ -352,7 +354,7 @@ public:
E = 0;
for (unsigned i = 0; i < s.size(); i++) {
for (unsigned j = 0; j < i; j++) {
- E -= Z(s[i], s[j]);
+ E -= Z(s[i], s[j]);
}
E -= B(s0.inverse().act(s[i]));