@@ -121,7 +121,6 @@ TEST(ProbDistributionsInvGaussian, boundaries) {
121121 EXPECT_FLOAT_EQ (-inf, inv_gaussian_lcdf (0.0 , 1.0 , 2.0 ));
122122 EXPECT_FLOAT_EQ (0.0 , inv_gaussian_lccdf (0.0 , 1.0 , 2.0 ));
123123 EXPECT_FLOAT_EQ (0.0 , inv_gaussian_cdf (0.0 , 1.0 , 2.0 ));
124- // y == inf is in the closure of the support: zero density, saturated CDF
125124 EXPECT_FLOAT_EQ (-inf, inv_gaussian_lpdf (inf, 1.0 , 2.0 ));
126125 EXPECT_FLOAT_EQ (0.0 , inv_gaussian_lcdf (inf, 1.0 , 2.0 ));
127126 EXPECT_FLOAT_EQ (-inf, inv_gaussian_lccdf (inf, 1.0 , 2.0 ));
@@ -206,8 +205,6 @@ TEST(ProbDistributionsInvGaussian, probabilityNeverExceedsOne) {
206205 EXPECT_FLOAT_EQ (-4.99000499999999997e17 , inv_gaussian_lcdf (1e-4 , 1e-1 , 1e14 ));
207206}
208207
209- // At y == mu the CDF is a fixed quantity independent of the scale of mu, so
210- // all of these must agree.
211208TEST (ProbDistributionsInvGaussian, medianIsScaleInvariant) {
212209 using stan::math::inv_gaussian_lccdf;
213210 using stan::math::inv_gaussian_lcdf;
0 commit comments