From 68b2043062553829a41312c1ce3f77e2b50409ef Mon Sep 17 00:00:00 2001 From: Silvia Toonen Date: Tue, 29 Nov 2022 16:37:58 +0100 Subject: [PATCH] stupid line endings that git messes up --- TRES.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/TRES.py b/TRES.py index f6c325f..aad2adb 100644 --- a/TRES.py +++ b/TRES.py @@ -1160,11 +1160,11 @@ def check_OLOF(self): elif self.is_triple(): # for disrupted binary if self.triple.child1.is_star: - star = self.triple.child1 + star = self.triple.child1 bin = self.triple.child2 else: - star = self.triple.child2 - bin = self.triple.child1 + star = self.triple.child2 + bin = self.triple.child1 Rl2_1 = L2_radius(bin, bin.child1, self) Rl2_2 = L2_radius(bin, bin.child2, self) @@ -2391,7 +2391,7 @@ def check_stopping_conditions_stellar(self, stellar_system = None): else: stellar_system.bin_type = bin_type['common_envelope'] - return False + return False else: return True @@ -2621,8 +2621,6 @@ def evolve_model(self, tend): #resetting is_donor in determine_time_step continue - - #needed for nucleair timescale self.update_time_derivative_of_radius()