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 726d94a commit f0f7dafCopy full SHA for f0f7daf
src/BaseStar.cpp
@@ -3909,7 +3909,7 @@ double BaseStar::DrawSNKickMagnitude(const double p_Sigma,
3909
if (thisSNevent == SN_EVENT::CCSN || (thisSNevent == SN_EVENT::PPISN && OPTIONS->NatalKickForPPISN())) {
3910
kickMagnitude = 1001.0;
3911
double rand = p_Rand; // makes it possible to adjust if p_Rand is too low, to avoid getting stuck
3912
- while( utils::Compare(kickMagnitude, 1000.0) > 0 ) { // maximum kick of 1000 km/s, following Disberg & Mandel (2025)
+ while (utils::Compare(kickMagnitude, 1000.0) > 0 ) { // maximum kick of 1000 km/s, following Disberg & Mandel (2025)
3913
kickMagnitude = gsl_cdf_lognormal_Pinv(rand, DISBERG_MANDEL_MU, DISBERG_MANDEL_SIGMA);
3914
rand = 0.99 * rand;
3915
}
0 commit comments