Skip to content

Commit

Permalink
Update BaseBinaryStar.cpp
Browse files Browse the repository at this point in the history
No need to set Prev values in EmitGravitationalWave()
  • Loading branch information
ilyamandel committed Aug 22, 2024
1 parent eff8bf1 commit 8bccc18
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/BaseBinaryStar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2542,10 +2542,6 @@ void BaseBinaryStar::EmitGravitationalWave(const double p_Dt) {

// Update the eccentricity
m_Eccentricity += m_DeDtGW * p_Dt;

// Save values as previous timestep
m_SemiMajorAxisPrev = m_SemiMajorAxis;
m_EccentricityPrev = m_Eccentricity;
}


Expand Down

0 comments on commit 8bccc18

Please sign in to comment.