Skip to content

Commit 0c2e12a

Browse files
author
Ilya Mandel
committed
typo fix
1 parent 7bd7b32 commit 0c2e12a

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
@@ -3910,7 +3910,7 @@ double BaseStar::DrawSNKickMagnitude(const double p_Sigma,
39103910
kickMagnitude = 1001.0;
39113911
double rand = p_Rand; // makes it possible to adjust if p_Rand is too low, to avoid getting stuck
39123912
while( utils::Compare(kickMagnitude, 1000.0) > 0 ) { // maximum kick of 1000 km/s, following Disberg & Mandel (2025)
3913-
kickMagnitude = gsl_cdf_lognormal_Pinv(p_Rand, DISBERG_MANDEL_MU, DISBERG_MANDEL_SIGMA);
3913+
kickMagnitude = gsl_cdf_lognormal_Pinv(rand, DISBERG_MANDEL_MU, DISBERG_MANDEL_SIGMA);
39143914
rand = min(rand + p_Rand + 0.0001, 1.0);
39153915
}
39163916
}

0 commit comments

Comments
 (0)