aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/extragalactic')
-rw-r--r--fg21sim/extragalactic/clusters/halo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py
index 3ada79a..2cd905b 100644
--- a/fg21sim/extragalactic/clusters/halo.py
+++ b/fg21sim/extragalactic/clusters/halo.py
@@ -711,8 +711,8 @@ class RadioHalo:
if t < self.age_begin:
return False
t_merger = self._merger_time(t)
- t_turb = self.time_turbulence(t=t_merger)
- if (t >= t_merger) or (t <= t_merger + t_turb):
+ t_turb = self.time_turbulence(t_merger)
+ if (t >= t_merger) and (t <= t_merger + t_turb):
return True
else:
return False