summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-23 23:16:52 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-23 23:16:52 -0400
commit8d96c4d30214a2c27561740b7b3f7e1e3b0bbfe4 (patch)
tree8494a4aa5640a35b531f3526db21b45d4f99fb53 /src
parent1681ad71a378e869cb89451ccd330f87f206b058 (diff)
downloadc++-8d96c4d30214a2c27561740b7b3f7e1e3b0bbfe4.tar.gz
c++-8d96c4d30214a2c27561740b7b3f7e1e3b0bbfe4.tar.bz2
c++-8d96c4d30214a2c27561740b7b3f7e1e3b0bbfe4.zip
sped up orthogonal generation a bit
Diffstat (limited to 'src')
-rw-r--r--src/wolff_On.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wolff_On.cpp b/src/wolff_On.cpp
index ea80a28..997ec09 100644
--- a/src/wolff_On.cpp
+++ b/src/wolff_On.cpp
@@ -55,7 +55,7 @@ int main(int argc, char *argv[]) {
unsigned int window_size = 512;
bool modulated_field = false;
- int order = 2;
+ unsigned int order = 1;
int opt;
q_t H_ind = 0;
@@ -133,7 +133,7 @@ int main(int argc, char *argv[]) {
std::function <orthogonal_R_t(gsl_rng *, vector_R_t)> gen_R;
if (use_pert) {
- gen_R = std::bind(generate_rotation_perturbation <N_COMP>, std::placeholders::_1, std::placeholders::_2, epsilon);
+ gen_R = std::bind(generate_rotation_perturbation <N_COMP>, std::placeholders::_1, std::placeholders::_2, epsilon, order);
pert_type = "PERTURB";
} else {
gen_R = generate_rotation_uniform <N_COMP>;