Skip to content

Commit

Permalink
updating test
Browse files Browse the repository at this point in the history
  • Loading branch information
syclik committed Jan 19, 2024
1 parent b3e7f1c commit 2565ff0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
Expand Up @@ -163,7 +163,7 @@ TEST(ProbDistributionsInvWishartCholesky, Error) {
nu = 5;
MatrixXd Sigma(2, 1);
EXPECT_THROW(inv_wishart_cholesky_lpdf(MatrixXd::Identity(1, 1), nu, Sigma),
std::domain_error);
std::invalid_argument);

nu = 5;
MatrixXd Y(2, 1);
Expand Down
2 changes: 1 addition & 1 deletion test/unit/math/prim/prob/wishart_cholesky_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ TEST(ProbDistributionsWishartCholesky, error) {
nu = 5;
MatrixXd Sigma(2, 1);
EXPECT_THROW(wishart_cholesky_lpdf(MatrixXd::Identity(1, 1), nu, Sigma),
std::domain_error);
std::invalid_argument);

nu = 5;
MatrixXd Y(2, 1);
Expand Down

0 comments on commit 2565ff0

Please sign in to comment.