summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-10-21 00:39:34 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-10-21 00:39:34 -0400
commit44b83cecee297360d18ef3cf96bf0e2a41c699af (patch)
tree0fde9456e726156a659400b7591fd1401643fbe7 /lib
parenta57928e1ef11d54a3e8b6b6de42013952b1cbf8e (diff)
downloadc++-44b83cecee297360d18ef3cf96bf0e2a41c699af.tar.gz
c++-44b83cecee297360d18ef3cf96bf0e2a41c699af.tar.bz2
c++-44b83cecee297360d18ef3cf96bf0e2a41c699af.zip
measurement virtual hooks now defined to be trivial by default
Diffstat (limited to 'lib')
-rw-r--r--lib/include/wolff/measurement.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/include/wolff/measurement.hpp b/lib/include/wolff/measurement.hpp
index 59684fb..6e352a5 100644
--- a/lib/include/wolff/measurement.hpp
+++ b/lib/include/wolff/measurement.hpp
@@ -9,17 +9,17 @@ namespace wolff {
template <class R_t, class X_t>
class measurement {
public:
- virtual void pre_cluster(N_t, N_t, const system<R_t, X_t>&, v_t, const R_t&) = 0;
+ virtual void pre_cluster(N_t, N_t, const system<R_t, X_t>&, v_t, const R_t&) {};
- virtual void plain_bond_visited(const system<R_t, X_t>&, v_t, const X_t&, v_t, double) = 0;
- virtual void plain_site_transformed(const system<R_t, X_t>&, v_t, const X_t&) = 0;
+ virtual void plain_bond_visited(const system<R_t, X_t>&, v_t, const X_t&, v_t, double) {};
+ virtual void plain_site_transformed(const system<R_t, X_t>&, v_t, const X_t&) {};
#ifndef WOLFF_NO_FIELD
- virtual void ghost_bond_visited(const system<R_t, X_t>&, v_t, const X_t&, const X_t&, double) = 0;
- virtual void ghost_site_transformed(const system<R_t, X_t>&, const R_t&) = 0;
+ virtual void ghost_bond_visited(const system<R_t, X_t>&, v_t, const X_t&, const X_t&, double) {};
+ virtual void ghost_site_transformed(const system<R_t, X_t>&, const R_t&) {};
#endif
- virtual void post_cluster(N_t, N_t, const system<R_t, X_t>&) = 0;
+ virtual void post_cluster(N_t, N_t, const system<R_t, X_t>&) {};
};
}