Skip to content

Commit 2142224

Browse files
committed
Use boost mixmax specifically
1 parent 0379951 commit 2142224

File tree

89 files changed

+89
-89
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+89
-89
lines changed

test/unit/math/fwd/prob/categorical_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/fwd.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55
#include <vector>
66

test/unit/math/fwd/prob/dirichlet_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/fwd.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55

66
TEST(ProbDistributions, fvar_double) {

test/unit/math/fwd/prob/inv_wishart_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stan/math/fwd.hpp>
22
#include <gtest/gtest.h>
33

4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <boost/math/distributions.hpp>
66
#include <boost/math/special_functions/digamma.hpp>
77

test/unit/math/fwd/prob/lkj_corr_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/fwd.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55

66
TEST(ProbDistributionsLkjCorr, fvar_double) {

test/unit/math/fwd/prob/multi_normal_cholesky_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/fwd.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55

66
TEST(ProbDistributionsMultiNormalCholesky, fvar_double) {

test/unit/math/fwd/prob/multi_normal_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/fwd.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55

66
TEST(ProbDistributionsMultiNormal, fvar_double) {

test/unit/math/fwd/prob/multi_student_t_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/fwd.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55

66
TEST(ProbDistributionsMultiStudentT, fvar_double) {

test/unit/math/fwd/prob/multinomial_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/fwd.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55
#include <vector>
66

test/unit/math/fwd/prob/wishart_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/fwd.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/special_functions/digamma.hpp>
55
#include <boost/math/distributions.hpp>
66

test/unit/math/mix/prob/categorical_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/mix.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55
#include <vector>
66

test/unit/math/mix/prob/lkj_corr_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stan/math/mix.hpp>
22
#include <gtest/gtest.h>
33
#include <test/unit/math/rev/prob/lkj_corr_cholesky_test_functors.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <boost/math/distributions.hpp>
66
#include <test/unit/math/mix/prob/higher_order_utils.hpp>
77
#include <vector>

test/unit/math/mix/prob/multinomial_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/mix.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55
#include <vector>
66

test/unit/math/opencl/multiply_transpose_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <stan/math/opencl/multiply_transpose.hpp>
55
#include <stan/math/opencl/copy.hpp>
66
#include <test/unit/util.hpp>
7-
#include <boost/random/mersenne_twister.hpp>
7+
#include <boost/random/mixmax.hpp>
88
#include <gtest/gtest.h>
99
#include <algorithm>
1010
boost::random::mixmax rng;

test/unit/math/opencl/prim/mdivide_left_tri_low_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <stan/math/opencl/prim.hpp>
44
#include <test/unit/math/expect_near_rel.hpp>
55
#include <test/unit/util.hpp>
6-
#include <boost/random/mersenne_twister.hpp>
6+
#include <boost/random/mixmax.hpp>
77
#include <gtest/gtest.h>
88
#include <algorithm>
99

test/unit/math/opencl/prim/mdivide_right_tri_low_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <stan/math/opencl/prim.hpp>
44
#include <test/unit/math/expect_near_rel.hpp>
55
#include <test/unit/util.hpp>
6-
#include <boost/random/mersenne_twister.hpp>
6+
#include <boost/random/mixmax.hpp>
77
#include <gtest/gtest.h>
88
#include <algorithm>
99

test/unit/math/opencl/tri_inverse_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <stan/math/prim.hpp>
33
#include <stan/math/opencl/prim.hpp>
44
#include <test/unit/util.hpp>
5-
#include <boost/random/mersenne_twister.hpp>
5+
#include <boost/random/mixmax.hpp>
66
#include <gtest/gtest.h>
77
#include <algorithm>
88

test/unit/math/prim/fun/chol2inv_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include <stan/math/prim.hpp>
2-
#include <boost/random/mersenne_twister.hpp>
2+
#include <boost/random/mixmax.hpp>
33
#include <gtest/gtest.h>
44

55
TEST(MathMatrixPrimMat, chol2inv_exception) {

test/unit/math/prim/prob/bernoulli_logit_glm_rng_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <gtest/gtest.h>
22
#include <stan/math/prim.hpp>
33
#include <boost/math/distributions.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <test/unit/math/prim/prob/util.hpp>
66
#include <limits>
77
#include <vector>

test/unit/math/prim/prob/bernoulli_logit_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <test/unit/math/prim/prob/VectorIntRNGTestRig.hpp>
44
#include <test/unit/math/prim/prob/util.hpp>
55
#include <boost/math/distributions.hpp>
6-
#include <boost/random/mersenne_twister.hpp>
6+
#include <boost/random/mixmax.hpp>
77
#include <gtest/gtest.h>
88
#include <limits>
99
#include <vector>

test/unit/math/prim/prob/bernoulli_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <test/unit/math/prim/prob/VectorIntRNGTestRig.hpp>
44
#include <test/unit/math/prim/prob/util.hpp>
55
#include <boost/math/distributions.hpp>
6-
#include <boost/random/mersenne_twister.hpp>
6+
#include <boost/random/mixmax.hpp>
77
#include <gtest/gtest.h>
88
#include <limits>
99
#include <vector>

test/unit/math/prim/prob/beta_binomial_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stan/math/prim.hpp>
22
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
33
#include <test/unit/math/prim/prob/VectorIntRNGTestRig.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <boost/math/distributions.hpp>
66
#include <gtest/gtest.h>
77
#include <limits>

test/unit/math/prim/prob/beta_proportion_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stan/math/prim.hpp>
22
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
33
#include <test/unit/math/prim/prob/util.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <boost/math/distributions.hpp>
66
#include <gtest/gtest.h>
77
#include <limits>

test/unit/math/prim/prob/beta_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stan/math/prim.hpp>
22
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
33
#include <test/unit/math/prim/prob/util.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <boost/math/distributions.hpp>
66
#include <gtest/gtest.h>
77
#include <limits>

test/unit/math/prim/prob/binomial_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stan/math/prim.hpp>
22
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
33
#include <test/unit/math/prim/prob/VectorIntRNGTestRig.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <boost/math/distributions.hpp>
66
#include <gtest/gtest.h>
77
#include <limits>

test/unit/math/prim/prob/categorical_logit_rng_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/prim.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55
#include <limits>
66

test/unit/math/prim/prob/categorical_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/prim.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55
#include <vector>
66
#include <limits>

test/unit/math/prim/prob/cauchy_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stan/math/prim.hpp>
22
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
33
#include <test/unit/math/prim/prob/util.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <boost/math/distributions.hpp>
66
#include <gtest/gtest.h>
77
#include <limits>

test/unit/math/prim/prob/chi_square_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
33
#include <test/unit/math/prim/prob/util.hpp>
44
#include <boost/math/distributions.hpp>
5-
#include <boost/random/mersenne_twister.hpp>
5+
#include <boost/random/mixmax.hpp>
66
#include <gtest/gtest.h>
77
#include <limits>
88
#include <vector>

test/unit/math/prim/prob/dirichlet_multinomial_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/prim.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55
#include <limits>
66
#include <vector>

test/unit/math/prim/prob/dirichlet_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/prim.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55
#include <vector>
66

test/unit/math/prim/prob/discrete_range_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/prim.hpp>
22
#include <boost/math/distributions.hpp>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <gtest/gtest.h>
55
#include <vector>
66

test/unit/math/prim/prob/double_exponential_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
33
#include <test/unit/math/prim/prob/util.hpp>
44
#include <boost/math/distributions.hpp>
5-
#include <boost/random/mersenne_twister.hpp>
5+
#include <boost/random/mixmax.hpp>
66
#include <gtest/gtest.h>
77
#include <limits>
88
#include <vector>

test/unit/math/prim/prob/exp_mod_normal_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stan/math/prim.hpp>
22
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
33
#include <boost/math/distributions.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <gtest/gtest.h>
66
#include <vector>
77

test/unit/math/prim/prob/exponential_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stan/math/prim.hpp>
22
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
33
#include <test/unit/math/prim/prob/util.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <boost/math/distributions.hpp>
66
#include <gtest/gtest.h>
77
#include <limits>

test/unit/math/prim/prob/frechet_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stan/math/prim.hpp>
22
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
33
#include <test/unit/math/prim/prob/util.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <boost/math/distributions.hpp>
66
#include <gtest/gtest.h>
77
#include <limits>

test/unit/math/prim/prob/gamma_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stan/math/prim.hpp>
22
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
33
#include <test/unit/math/prim/prob/util.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <boost/math/distributions.hpp>
66
#include <gtest/gtest.h>
77
#include <limits>

test/unit/math/prim/prob/gaussian_dlm_obs_rng_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <gtest/gtest.h>
22
#include <stan/math/prim.hpp>
33
#include <boost/math/distributions.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <test/unit/math/prim/prob/util.hpp>
66
#include <exception>
77
#include <limits>

test/unit/math/prim/prob/gumbel_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
33
#include <test/unit/math/prim/prob/util.hpp>
44
#include <boost/math/distributions.hpp>
5-
#include <boost/random/mersenne_twister.hpp>
5+
#include <boost/random/mixmax.hpp>
66
#include <gtest/gtest.h>
77
#include <limits>
88
#include <vector>

test/unit/math/prim/prob/hypergeometric_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/prim.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55
#include <vector>
66

test/unit/math/prim/prob/inv_chi_square_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stan/math/prim.hpp>
22
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
33
#include <test/unit/math/prim/prob/util.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <boost/math/distributions.hpp>
66
#include <gtest/gtest.h>
77
#include <limits>

test/unit/math/prim/prob/inv_gamma_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stan/math/prim.hpp>
22
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
33
#include <test/unit/math/prim/prob/util.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <boost/math/distributions.hpp>
66
#include <gtest/gtest.h>
77
#include <vector>

test/unit/math/prim/prob/inv_wishart_cholesky_rng_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/prim.hpp>
22
#include <test/unit/math/prim/util.hpp>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions/chi_squared.hpp>
55
#include <gtest/gtest.h>
66
#include <stdexcept>

test/unit/math/prim/prob/inv_wishart_cholesky_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/prim.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55
#include <boost/math/special_functions/digamma.hpp>
66

test/unit/math/prim/prob/inv_wishart_rng_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stan/math/prim.hpp>
22
#include <test/unit/math/prim/util.hpp>
33
#include <boost/math/distributions/chi_squared.hpp>
4-
#include <boost/random/mersenne_twister.hpp>
4+
#include <boost/random/mixmax.hpp>
55
#include <gtest/gtest.h>
66
#include <stdexcept>
77

test/unit/math/prim/prob/inv_wishart_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/prim.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55
#include <boost/math/special_functions/digamma.hpp>
66

test/unit/math/prim/prob/lkj_corr_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/prim.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55

66
TEST(ProbDistributionsLkjCorr, testIdentity) {

test/unit/math/prim/prob/lkj_cov_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stan/math/prim.hpp>
22
#include <gtest/gtest.h>
3-
#include <boost/random/mersenne_twister.hpp>
3+
#include <boost/random/mixmax.hpp>
44
#include <boost/math/distributions.hpp>
55

66
TEST(ProbDistributionsLkjCov, testIdentity) {

0 commit comments

Comments
 (0)