summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hadamard_mcmc.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/hadamard_mcmc.hpp b/hadamard_mcmc.hpp
index fb0bc86..107622a 100644
--- a/hadamard_mcmc.hpp
+++ b/hadamard_mcmc.hpp
@@ -162,8 +162,8 @@ public:
double E;
Orthogonal M;
- MCMC(unsigned n, double β0, Measurement& A) : A(A), M(n), β(β0), row_storage(2 * n) {
- θ0 = M_PI;
+ MCMC(unsigned n, double β0, Measurement& A, double ε = M_PI) : A(A), M(n), β(β0), row_storage(2 * n) {
+ θ0 = ε;
E = M.energy();
}