Skip to content

Commit

Permalink
fix a bug to save model current stats for maxL polarization
Browse files Browse the repository at this point in the history
  • Loading branch information
yi-fan-wang committed Jan 31, 2025
1 parent bf5ff50 commit b631e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycbc/inference/models/marginalized_gaussian_noise.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def _loglr(self):
# store the maxl polarization
setattr(self._current_stats,
'maxl_polarization',
params['polarization'])
params['polarization'][idx])
setattr(self._current_stats, 'maxl_loglr', maxl)

# just store the maxl optimal snrsq
Expand Down

0 comments on commit b631e61

Please sign in to comment.