Skip to content

Commit

Permalink
bugfix in averages.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tgastine committed Sep 17, 2024
1 parent 7590f04 commit 63f6d57
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/magic/averages.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,7 @@ def __init__(self, tag=None, tstart=None, model=default_model,
setattr(self, 'rmelt_theta_av', xmean)
setattr(self, 'rmelt_theta_sd', xstd)
else:
xmean, xstd = avgField(rm.time[ind:],
rm.rmelt[ind:, :])
xmean = avgField(rm.time[ind:], rm.rmelt[ind:, :])
self.lut['theta_profiles']['rmelt_theta_av'] = xmean
setattr(self, 'rmelt_theta_av', xmean)
elif key == 'heatf_theta':
Expand Down

0 comments on commit 63f6d57

Please sign in to comment.