Skip to content

Commit 3e37933

Browse files
authored
Merge branch 'stan-dev:develop' into feature/issue-3115-beta-neg-binomial-lcdf
2 parents 7a40206 + 8ab9760 commit 3e37933

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

test/prob/beta_neg_binomial/beta_neg_binomial_ccdf_log_test.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ class AgradCcdfLogBetaNegBinomial : public AgradCcdfLogTest {
1313
vector<double>& ccdf_log) {
1414
vector<double> param(4);
1515

16-
param[0] = 10; // n
17-
param[1] = 5.5; // r
18-
param[2] = 2.5; // alpha
19-
param[3] = 0.5; // beta
16+
param[0] = 0; // n
17+
param[1] = 1.0; // r
18+
param[2] = 5.0; // alpha
19+
param[3] = 1.0; // beta
2020
parameters.push_back(param);
21-
ccdf_log.push_back(std::log(1.0 - 0.967906252841089)); // expected ccdf_log
21+
ccdf_log.push_back(std::log(1.0 - 0.833333333333333)); // expected ccdf_log
2222
}
2323

2424
void invalid_values(vector<size_t>& index, vector<double>& value) {

0 commit comments

Comments
 (0)