Skip to content

Commit 00ab7c2

Browse files
authored
Update BaseStar.cpp - fix comment
1 parent fabf40f commit 00ab7c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BaseStar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3045,7 +3045,7 @@ double BaseStar::CalculateOStarRotationalVelocityAnalyticCDF_Static(const double
30453045
boost::math::inverse_gamma_distribution<> gammaComponent(alpha, beta); // (shape, scale) = (alpha, beta)
30463046
boost::math::normal_distribution<> normalComponent(mu, sigma);
30473047

3048-
// Compute CDF at zero rotational velocity -- the CDF should relative to this quantity
3048+
// Compute CDF at zero rotational velocity -- the CDF should be relative to this quantity
30493049
double CDFzero = (iGamma * boost::math::cdf(gammaComponent, 0.0)) + ((1.0 - iGamma) * boost::math::cdf(normalComponent, 0.0));
30503050

30513051
double CDFunnormalised = (iGamma * boost::math::cdf(gammaComponent, p_Ve)) + ((1.0 - iGamma) * boost::math::cdf(normalComponent, p_Ve));

0 commit comments

Comments
 (0)