Skip to content

Commit ac979fd

Browse files
author
Ilya Mandel
committed
Clean
1 parent a932eef commit ac979fd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/BaseStar.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3849,9 +3849,10 @@ double BaseStar::DrawRemnantKickMullerMandel(const double p_COCoreMass,
38493849
double rand = quantile0 + p_Rand * (1.0 - quantile0);
38503850
remnantKick = muKick * (1.0 + gsl_cdf_gaussian_Pinv(rand, sigmaKick));
38513851

3852-
if (utils::SNEventType(m_SupernovaDetails.events.current) == SN_EVENT::USSN ) // overwrite USSN kick prescription
3852+
if (utils::SNEventType(m_SupernovaDetails.events.current) == SN_EVENT::USSN ) { // overwrite USSN kick prescription
38533853
remnantKick = OPTIONS->KickMagnitudeDistributionSigmaForUSSN();
3854-
3854+
}
3855+
38553856
return remnantKick;
38563857
}
38573858

@@ -4025,7 +4026,7 @@ double BaseStar::CalculateSNKickMagnitude(const double p_RemnantMass, const doub
40254026

40264027
if (error == ERROR::NONE) { // check for errors
40274028
// no errors - draw kick magnitude
4028-
vK = DrawSNKickMagnitude(sigma, m_SupernovaDetails.COCoreMassAtCOFormation, m_SupernovaDetails.kickMagnitudeRandom, p_EjectaMass, p_RemnantMass;
4029+
vK = DrawSNKickMagnitude(sigma, m_SupernovaDetails.COCoreMassAtCOFormation, m_SupernovaDetails.kickMagnitudeRandom, p_EjectaMass, p_RemnantMass);
40294030
}
40304031
}
40314032
else { // user supplied kick parameters and wants to use supplied kick magnitude, so ...

0 commit comments

Comments
 (0)