Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffriley committed Dec 27, 2023
1 parent 6def95c commit 962a65c
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 962a65c

Please sign in to comment.