Skip to content

Commit 98b43d7

Browse files
author
Ilya Mandel
committed
Addressing Jeff's comment
2 parents f31dcb1 + f0f7daf commit 98b43d7

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
@@ -3909,7 +3909,7 @@ double BaseStar::DrawSNKickMagnitude(const double p_Sigma,
39093909
if (thisSNevent == SN_EVENT::CCSN || (thisSNevent == SN_EVENT::PPISN && OPTIONS->NatalKickForPPISN())) {
39103910
kickMagnitude = DISBERG_MANDEL_MAX_KICK + 1.0;
39113911
double rand = p_Rand; // makes it possible to adjust if p_Rand is too high, to avoid getting stuck
3912-
while( utils::Compare(kickMagnitude, DISBERG_MANDEL_MAX_KICK) > 0 ) { // maximum kick of 1000 km/s, following Disberg & Mandel (2025)
3912+
while (utils::Compare(kickMagnitude, DISBERG_MANDEL_MAX_KICK) > 0) { // maximum kick of 1000 km/s, following Disberg & Mandel (2025)
39133913
kickMagnitude = gsl_cdf_lognormal_Pinv(rand, DISBERG_MANDEL_MU, DISBERG_MANDEL_SIGMA);
39143914
rand = 0.99 * rand;
39153915
}

0 commit comments

Comments
 (0)