diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-12-11 09:50:13 -0500 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-12-11 09:50:13 -0500 |
commit | 833e325c0a5531d07b9b9deed0201b26a5152e51 (patch) | |
tree | e1c61912bac359c60416bd9d36fab5a191cfca87 /hadamard.cpp | |
parent | b967570eae9167e8bf353ab84b76d2d2039215d4 (diff) | |
download | code-833e325c0a5531d07b9b9deed0201b26a5152e51.tar.gz code-833e325c0a5531d07b9b9deed0201b26a5152e51.tar.bz2 code-833e325c0a5531d07b9b9deed0201b26a5152e51.zip |
added support in parallel tempering for specifying different densities of temperatures in different intervals
Diffstat (limited to 'hadamard.cpp')
-rw-r--r-- | hadamard.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hadamard.cpp b/hadamard.cpp index b8ebdde..9364d3c 100644 --- a/hadamard.cpp +++ b/hadamard.cpp @@ -104,7 +104,9 @@ int main(int argc, char* argv[]) { } MeasureTransitionRates B(num); - PT p(β0, βf, num, n, B, As); + range r = {β0, βf, num}; + + PT p({r}, n, B, As); for (MCMC& sim : p.Ms) { sim.M = walsh(k); |