Skip to content

Commit

Permalink
stupid line endings that git messes up
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvia Toonen committed Nov 29, 2022
1 parent e450364 commit 68b2043
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions TRES.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit 68b2043

Please sign in to comment.