summaryrefslogtreecommitdiff
path: root/hadamard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hadamard.cpp')
-rw-r--r--hadamard.cpp4
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);