Skip to content

Commit 0565dee

Browse files
authored
Update BaseStar.cpp - formatting
1 parent e842b1f commit 0565dee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/BaseStar.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3903,9 +3903,10 @@ double BaseStar::DrawSNKickMagnitude(const double p_Sigma,
39033903
break;
39043904

39053905
case KICK_MAGNITUDE_DISTRIBUTION::LOGNORMAL: { // LOGNORMAL
3906-
// Only draw Disberg & Mandel (2025) kicks for CCSN or PPISN (if they receive a kick); use Maxwellians with sigma set in CalculateSNKickMagnitude() for other SN types
3906+
// Only draw Disberg & Mandel (2025) kicks for CCSN or PPISN (if they receive a kick)
3907+
// use Maxwellians with sigma set in CalculateSNKickMagnitude() for other SN types
39073908
SN_EVENT thisSNevent = utils::SNEventType(m_SupernovaDetails.events.current); // current SN event
3908-
if(thisSNevent==SN_EVENT::CCSN || (thisSNevent == SN_EVENT::PPISN && OPTIONS->NatalKickForPPISN()))
3909+
if (thisSNevent == SN_EVENT::CCSN || (thisSNevent == SN_EVENT::PPISN && OPTIONS->NatalKickForPPISN()))
39093910
kickMagnitude = gsl_cdf_lognormal_Pinv(p_Rand, DISBERG_MANDEL_MU, DISBERG_MANDEL_SIGMA);
39103911
else
39113912
kickMagnitude = DrawKickMagnitudeDistributionMaxwell(p_Sigma, p_Rand);

0 commit comments

Comments
 (0)