Skip to content

Commit

Permalink
Merge pull request #1043 from jeffriley/issue-1034
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
jeffriley authored Dec 27, 2023
2 parents 5167070 + 962a65c commit d64b8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BaseBinaryStar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ void BaseBinaryStar::SetRemainingValues() {
m_EccentricityAtDCOFormation = DEFAULT_INITIAL_DOUBLE_VALUE;

double momentOfInertia1 = m_Star1->CalculateMomentOfInertiaAU();
double momentOfInertia2 = m_Star2->CalculateMomentOfInertiaAu();
double momentOfInertia2 = m_Star2->CalculateMomentOfInertiaAU();

m_TotalEnergy = CalculateTotalEnergy(m_SemiMajorAxis, m_Star1->Mass(), m_Star2->Mass(), m_Star1->Omega(), m_Star2->Omega(), momentOfInertia1, momentOfInertia2);

Expand Down

0 comments on commit d64b8d5

Please sign in to comment.