summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-25 22:09:10 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-25 22:09:10 -0400
commit225905d1ad11a0f10d63ab0c6c71e6a5265e0894 (patch)
tree9539ab13e9f761758901deeacf19b42eb38a28e7 /src
parent9e5184dbe89946dda121a2a427928d6ba850a43d (diff)
downloadc++-225905d1ad11a0f10d63ab0c6c71e6a5265e0894.tar.gz
c++-225905d1ad11a0f10d63ab0c6c71e6a5265e0894.tar.bz2
c++-225905d1ad11a0f10d63ab0c6c71e6a5265e0894.zip
more standard lib objects
Diffstat (limited to 'src')
-rw-r--r--src/wolff_On.cpp2
-rw-r--r--src/wolff_ising.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wolff_On.cpp b/src/wolff_On.cpp
index a277e0f..3da6c7c 100644
--- a/src/wolff_On.cpp
+++ b/src/wolff_On.cpp
@@ -216,7 +216,7 @@ int main(int argc, char *argv[]) {
}
// initialize random number generator
- gsl_rng *r = gsl_rng_alloc(gsl_rng_mt19937);
+ gsl_rng *r = gsl_rng_alloc(gsl_rng_taus2);
gsl_rng_set(r, rand_seed());
state_t <orthogonal_R_t, vector_R_t> s(D, L, T, dot <N_COMP, double>, H);
diff --git a/src/wolff_ising.cpp b/src/wolff_ising.cpp
index 5e44cab..93b7ea4 100644
--- a/src/wolff_ising.cpp
+++ b/src/wolff_ising.cpp
@@ -95,7 +95,7 @@ int main(int argc, char *argv[]) {
}
// initialize random number generator
- gsl_rng *r = gsl_rng_alloc(gsl_rng_mt19937);
+ gsl_rng *r = gsl_rng_alloc(gsl_rng_taus2);
gsl_rng_set(r, rand_seed());
// define spin-spin coupling