Skip to content

Commit 5386b9c

Browse files
committed
Comment tweaks
1 parent c4f5c4a commit 5386b9c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/BaseBinaryStar.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2132,14 +2132,14 @@ void BaseBinaryStar::ResolveMassChanges() {
21322132

21332133
// update mass of star1 according to mass loss and mass transfer, then update age accordingly
21342134
(void)m_Star1->UpdateAttributes(m_Star1->MassPrev() - m_Star1->Mass() + m_Star1->MassLossDiff() + m_Star1->MassTransferDiff(), 0.0); // update mass for star1
2135-
m_Star1->UpdateInitialMass(); // update effective initial mass of star1 (MS, HG & HeMS, HeHG)
2135+
m_Star1->UpdateInitialMass(); // update effective initial mass of star1 (MS, HG & HeMS)
21362136
m_Star1->UpdateAgeAfterMassLoss(); // update age of star1
21372137
m_Star1->ApplyMassTransferRejuvenationFactor(); // apply age rejuvenation factor for star1
21382138
m_Star1->UpdateAttributes(0.0, 0.0, true);
21392139

21402140
// rinse and repeat for star2
21412141
(void)m_Star2->UpdateAttributes(m_Star2->MassPrev() - m_Star2->Mass() + m_Star2->MassLossDiff() + m_Star2->MassTransferDiff(), 0.0); // update mass for star2
2142-
m_Star2->UpdateInitialMass(); // update effective initial mass of star 2 (MS, HG & HeMS, HeHG)
2142+
m_Star2->UpdateInitialMass(); // update effective initial mass of star 2 (MS, HG & HeMS)
21432143
m_Star2->UpdateAgeAfterMassLoss(); // update age of star2
21442144
m_Star2->ApplyMassTransferRejuvenationFactor(); // apply age rejuvenation factor for star2
21452145
m_Star2->UpdateAttributes(0.0, 0.0, true);

src/BaseStar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1842,7 +1842,7 @@ void BaseStar::ResolveMassLoss() {
18421842
m_COCoreMass=std::min(m_COCoreMass,m_Mass); // Not expected, only a precaution to avoid inconsistencies
18431843
m_CoreMass=std::min(m_CoreMass, m_Mass);
18441844

1845-
UpdateInitialMass(); // update effective initial mass (MS, HG & HeMS, HeHG)
1845+
UpdateInitialMass(); // update effective initial mass (MS, HG & HeMS)
18461846
UpdateAgeAfterMassLoss(); // update age (MS, HG & HeMS)
18471847
ApplyMassTransferRejuvenationFactor(); // apply age rejuvenation factor
18481848
}

0 commit comments

Comments
 (0)