From 1160baa61bad605cf8a1d583e8ae356a54a942df Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 26 Jul 2018 16:18:40 -0400 Subject: many changes, including new spin spaces and groups and cleaning up core library code --- src/wolff_cgm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wolff_cgm.cpp') diff --git a/src/wolff_cgm.cpp b/src/wolff_cgm.cpp index 7613691..ec3ae36 100644 --- a/src/wolff_cgm.cpp +++ b/src/wolff_cgm.cpp @@ -75,7 +75,7 @@ int main(int argc, char *argv[]) { gsl_rng_set(r, rand_seed()); // define spin-spin coupling - std::function , height_t)> Z = [] (height_t h1, height_t h2) -> double { + std::function &, const height_t&)> Z = [] (const height_t& h1, const height_t& h2) -> double { return -pow(h1.x - h2.x, 2); }; -- cgit v1.2.3-70-g09d2