Skip to content

Commit

Permalink
Fix flag setting in ThermalModelPCE
Browse files Browse the repository at this point in the history
  • Loading branch information
vlvovch committed Oct 23, 2020
1 parent d7b95ff commit 6359ee5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/HRGPCE/ThermalModelPCE.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ namespace thermalfist {
*
* \param flag Flag whether the Saha equation is used.
*/
void UseSahaForNuclei(bool flag) { m_UseSahaForNuclei = true; m_StabilityFlagsSet = false; }
void UseSahaForNuclei(bool flag) { m_UseSahaForNuclei = flag; m_StabilityFlagsSet = false; }
bool UseSahaForNuclei() const { return m_UseSahaForNuclei; }
//@}

Expand All @@ -86,7 +86,7 @@ namespace thermalfist {
*
* \param flag Whether long-lived resonances yields should be frozen.
*/
void FreezeLonglivedResonances(bool flag) { m_FreezeLonglivedResonances = true; m_StabilityFlagsSet = false; }
void FreezeLonglivedResonances(bool flag) { m_FreezeLonglivedResonances = flag; m_StabilityFlagsSet = false; }
bool FreezeLonglivedResonances() const { return m_FreezeLonglivedResonances; }
//@}

Expand Down

0 comments on commit 6359ee5

Please sign in to comment.