diff options
-rw-r--r-- | hadamard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hadamard.cpp b/hadamard.cpp index 7276039..67a53f5 100644 --- a/hadamard.cpp +++ b/hadamard.cpp @@ -146,7 +146,7 @@ int main(int argc, char* argv[]) { Rng rng; for (unsigned i = 0; i < n_tuning; i++) { std::for_each(std::execution::par_unseq, p.Ms.begin(), p.Ms.end(), - [m, ε](MCMC& M) { M.tune(m, ε); }); + [M, ε](MCMC& MM) { MM.tune(M, ε); }); for (unsigned j = 0; j < p.Ms.size(); j++) { unsigned k = rng.uniform((unsigned)0, (unsigned)(p.Ms.size() - 2)); p.step(k, k + 1, true); |