Skip to content

Commit 3caa14f

Browse files
author
Ilya Mandel
committed
Tweak
1 parent d590580 commit 3caa14f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BaseBinaryStar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2106,7 +2106,7 @@ void BaseBinaryStar::CalculateMassTransfer(const double p_Dt) {
21062106

21072107
// Determine stability
21082108
bool isUnstable = false;
2109-
if (donorIsHeHGorHeGB && (caseBBAlwaysUnstable || (caseBBAlwaysStableOntoNSBH && !accretorIsNSorBH))) { // determine stability based on case BB
2109+
if (donorIsHeHGorHeGB && (caseBBAlwaysStable || caseBBAlwaysUnstable || (caseBBAlwaysStableOntoNSBH && !accretorIsNSorBH))) { // determine stability based on case BB
21102110
isUnstable = (caseBBAlwaysUnstable || (caseBBAlwaysStableOntoNSBH && !accretorIsNSorBH)); // already established that donor is HeHG or HeGB - need to check if new case BB prescriptions are added
21112111
}
21122112
else if (accretorIsWD && (m_Accretor->WhiteDwarfAccretionRegime() == ACCRETION_REGIME::HELIUM_WHITE_DWARF_HYDROGEN_ACCUMULATION)) {

0 commit comments

Comments
 (0)