We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99bf6f3 commit 1475b99Copy full SHA for 1475b99
1 file changed
test/unit/math/prim/prob/wishart_cholesky_test.cpp
@@ -81,7 +81,7 @@ TEST(ProbDistributionsWishartCholesky, dof_0) {
81
MatrixXd L_Y = Y.llt().matrixL();
82
MatrixXd L_S = Sigma.llt().matrixL();
83
84
- unsigned int dof = std::numeric_limits<double>::quiet_NaN();
+ unsigned int dof = 0;
85
EXPECT_THROW(stan::math::wishart_cholesky_lpdf(L_Y, dof, L_S),
86
std::domain_error);
87
}
0 commit comments