Skip to content

Commit

Permalink
Merge pull request #1061 from jeffriley/BSEvsSSE
Browse files Browse the repository at this point in the history
Fixed comment in CHeB.cpp
  • Loading branch information
jeffriley authored Feb 8, 2024
2 parents cfb2275 + f818b67 commit 44070f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CHeB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ double CHeB::CalculateRemnantRadius() const {
* @return Core mass on the First Giant Branch in Msol
*/
double CHeB::CalculateCoreMassOnPhase(const double p_Mass, const double p_Tau) const {
return std::min(((1.0 - p_Tau) * CalculateCoreMassAtHeIgnition(p_Mass)) + (p_Tau * CalculateCoreMassAtBAGB(p_Mass)), m_Mass); // We mass capped at total mass (should become HeMS star)
return std::min(((1.0 - p_Tau) * CalculateCoreMassAtHeIgnition(p_Mass)) + (p_Tau * CalculateCoreMassAtBAGB(p_Mass)), m_Mass); // He mass capped at total mass (should become HeMS star)
}


Expand Down

0 comments on commit 44070f5

Please sign in to comment.