From e04d2d074c5337e92d9cc8e44e7e62c9708d4092 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Tue, 26 Nov 2019 13:55:17 -0500 Subject: ran clang-format --- space_wolff.hpp | 12 +++++++----- 1 file 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* s) { data[ind(s->x)].insert(s); }; - void remove( Spin* s) { data[ind(s->x)].erase(s); }; + void remove(Spin* s) { data[ind(s->x)].erase(s); }; std::set*> neighbors(const Vector& x, unsigned depth) const { std::set*> ns; @@ -251,10 +251,12 @@ template public: virtual void pre_cluster(const Model&, unsigned, const Euclidean&) {}; virtual void plain_bond_visited(const Model&, const X_t&, double) {}; - virtual void plain_site_transformed(const system&, const typename G_t::vertex& v, const X_t&) {}; + virtual void plain_site_transformed(const system&, const typename G_t::vertex& +v, const X_t&) {}; - virtual void ghost_bond_visited(const system&, const typename G_t::vertex& v, const X_t&, const X_t&, double) {}; - virtual void ghost_site_transformed(const system&, const R_t&) {}; + virtual void ghost_bond_visited(const system&, const typename G_t::vertex& v, +const X_t&, const X_t&, double) {}; virtual void ghost_site_transformed(const system&, const R_t&) {}; virtual void post_cluster(unsigned, unsigned, const system&) {}; }; @@ -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])); -- cgit v1.2.3-70-g09d2