Skip to content

Commit 7782339

Browse files
committed
Fix for issue #1378: reinstate 'false' fallback option for 'kick-magnitude-random*' options (mistakenly changed to 'true' in v03.00.00)
1 parent a20b101 commit 7782339

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/Options.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,9 +1458,9 @@ class Options {
14581458
double KickMagnitude1() const { return OPT_VALUE("kick-magnitude-1", m_KickMagnitude1, true); }
14591459
double KickMagnitude2() const { return OPT_VALUE("kick-magnitude-2", m_KickMagnitude2, true); }
14601460

1461-
double KickMagnitudeRandom() const { return OPT_VALUE("kick-magnitude-random", m_KickMagnitudeRandom, true); }
1462-
double KickMagnitudeRandom1() const { return OPT_VALUE("kick-magnitude-random-1", m_KickMagnitudeRandom1, true); }
1463-
double KickMagnitudeRandom2() const { return OPT_VALUE("kick-magnitude-random-2", m_KickMagnitudeRandom2, true); }
1461+
double KickMagnitudeRandom() const { return OPT_VALUE("kick-magnitude-random", m_KickMagnitudeRandom, false); }
1462+
double KickMagnitudeRandom1() const { return OPT_VALUE("kick-magnitude-random-1", m_KickMagnitudeRandom1, false); }
1463+
double KickMagnitudeRandom2() const { return OPT_VALUE("kick-magnitude-random-2", m_KickMagnitudeRandom2, false); }
14641464

14651465
STR_VECTOR LogClasses() const { return m_CmdLine.optionValues.m_LogClasses; }
14661466
std::string LogfileCommonEnvelopes() const { return m_CmdLine.optionValues.m_LogfileCommonEnvelopes; }

src/changelog.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,9 @@
15471547
// - Fix for issue #1380, which appears when the Loveridge binding energy is so high that lambda is rounded off to zero
15481548
// 03.18.04 IM - May 4, 2025 - Defect repair:
15491549
// - Added a check to avoid Loveridge lambda becoming zero when the envelope mass is positive but very small
1550+
// 03.18.05 JR - May 8, 2025 - Defect repair:
1551+
// - Fix for issue #1378: reinstate "false" fallback option for `kick-magnitude-random*` options (mistakenly changed to "true" in v03.00.00)
15501552

1551-
const std::string VERSION_STRING = "03.18.04";
1553+
const std::string VERSION_STRING = "03.18.05";
15521554

15531555
# endif // __changelog_h__

0 commit comments

Comments
 (0)