Skip to content

Commit

Permalink
Use boost mixmax specifically
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed May 17, 2024
1 parent 0379951 commit 2142224
Show file tree
Hide file tree
Showing 89 changed files with 89 additions and 89 deletions.
2 changes: 1 addition & 1 deletion test/unit/math/fwd/prob/categorical_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/fwd.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/fwd/prob/dirichlet_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/fwd.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>

TEST(ProbDistributions, fvar_double) {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/fwd/prob/inv_wishart_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stan/math/fwd.hpp>
#include <gtest/gtest.h>

#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <boost/math/special_functions/digamma.hpp>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/fwd/prob/lkj_corr_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/fwd.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>

TEST(ProbDistributionsLkjCorr, fvar_double) {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/fwd/prob/multi_normal_cholesky_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/fwd.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>

TEST(ProbDistributionsMultiNormalCholesky, fvar_double) {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/fwd/prob/multi_normal_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/fwd.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>

TEST(ProbDistributionsMultiNormal, fvar_double) {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/fwd/prob/multi_student_t_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/fwd.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>

TEST(ProbDistributionsMultiStudentT, fvar_double) {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/fwd/prob/multinomial_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/fwd.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/fwd/prob/wishart_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/fwd.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/special_functions/digamma.hpp>
#include <boost/math/distributions.hpp>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/mix/prob/categorical_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/mix.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/mix/prob/lkj_corr_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stan/math/mix.hpp>
#include <gtest/gtest.h>
#include <test/unit/math/rev/prob/lkj_corr_cholesky_test_functors.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <test/unit/math/mix/prob/higher_order_utils.hpp>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/mix/prob/multinomial_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/mix.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/opencl/multiply_transpose_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <stan/math/opencl/multiply_transpose.hpp>
#include <stan/math/opencl/copy.hpp>
#include <test/unit/util.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <gtest/gtest.h>
#include <algorithm>
boost::random::mixmax rng;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/opencl/prim/mdivide_left_tri_low_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stan/math/opencl/prim.hpp>
#include <test/unit/math/expect_near_rel.hpp>
#include <test/unit/util.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <gtest/gtest.h>
#include <algorithm>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/opencl/prim/mdivide_right_tri_low_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stan/math/opencl/prim.hpp>
#include <test/unit/math/expect_near_rel.hpp>
#include <test/unit/util.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <gtest/gtest.h>
#include <algorithm>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/opencl/tri_inverse_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <stan/math/prim.hpp>
#include <stan/math/opencl/prim.hpp>
#include <test/unit/util.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <gtest/gtest.h>
#include <algorithm>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/fun/chol2inv_test.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <stan/math/prim.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <gtest/gtest.h>

TEST(MathMatrixPrimMat, chol2inv_exception) {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/bernoulli_logit_glm_rng_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <gtest/gtest.h>
#include <stan/math/prim.hpp>
#include <boost/math/distributions.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <limits>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/bernoulli_logit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <test/unit/math/prim/prob/VectorIntRNGTestRig.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <boost/math/distributions.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <gtest/gtest.h>
#include <limits>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/bernoulli_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <test/unit/math/prim/prob/VectorIntRNGTestRig.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <boost/math/distributions.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <gtest/gtest.h>
#include <limits>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/beta_binomial_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stan/math/prim.hpp>
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
#include <test/unit/math/prim/prob/VectorIntRNGTestRig.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <gtest/gtest.h>
#include <limits>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/beta_proportion_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stan/math/prim.hpp>
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <gtest/gtest.h>
#include <limits>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/beta_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stan/math/prim.hpp>
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <gtest/gtest.h>
#include <limits>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/binomial_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stan/math/prim.hpp>
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
#include <test/unit/math/prim/prob/VectorIntRNGTestRig.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <gtest/gtest.h>
#include <limits>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/categorical_logit_rng_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/prim.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <limits>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/categorical_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/prim.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <vector>
#include <limits>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/cauchy_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stan/math/prim.hpp>
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <gtest/gtest.h>
#include <limits>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/chi_square_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <boost/math/distributions.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <gtest/gtest.h>
#include <limits>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/dirichlet_multinomial_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/prim.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <limits>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/dirichlet_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/prim.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/discrete_range_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/prim.hpp>
#include <boost/math/distributions.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <gtest/gtest.h>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/double_exponential_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <boost/math/distributions.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <gtest/gtest.h>
#include <limits>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/exp_mod_normal_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stan/math/prim.hpp>
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
#include <boost/math/distributions.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <gtest/gtest.h>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/exponential_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stan/math/prim.hpp>
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <gtest/gtest.h>
#include <limits>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/frechet_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stan/math/prim.hpp>
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <gtest/gtest.h>
#include <limits>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/gamma_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stan/math/prim.hpp>
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <gtest/gtest.h>
#include <limits>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/gaussian_dlm_obs_rng_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <gtest/gtest.h>
#include <stan/math/prim.hpp>
#include <boost/math/distributions.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <exception>
#include <limits>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/gumbel_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <boost/math/distributions.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <gtest/gtest.h>
#include <limits>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/hypergeometric_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/prim.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/inv_chi_square_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stan/math/prim.hpp>
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <gtest/gtest.h>
#include <limits>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/inv_gamma_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stan/math/prim.hpp>
#include <test/unit/math/prim/prob/vector_rng_test_helper.hpp>
#include <test/unit/math/prim/prob/util.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <gtest/gtest.h>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/inv_wishart_cholesky_rng_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/prim.hpp>
#include <test/unit/math/prim/util.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions/chi_squared.hpp>
#include <gtest/gtest.h>
#include <stdexcept>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/inv_wishart_cholesky_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/prim.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <boost/math/special_functions/digamma.hpp>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/inv_wishart_rng_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stan/math/prim.hpp>
#include <test/unit/math/prim/util.hpp>
#include <boost/math/distributions/chi_squared.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <gtest/gtest.h>
#include <stdexcept>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/inv_wishart_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/prim.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>
#include <boost/math/special_functions/digamma.hpp>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/lkj_corr_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/prim.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>

TEST(ProbDistributionsLkjCorr, testIdentity) {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/lkj_cov_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stan/math/prim.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/mixmax.hpp>
#include <boost/math/distributions.hpp>

TEST(ProbDistributionsLkjCov, testIdentity) {
Expand Down
Loading

0 comments on commit 2142224

Please sign in to comment.