Skip to content

Commit

Permalink
unit
Browse files Browse the repository at this point in the history
  • Loading branch information
abhisrkckl committed Nov 3, 2023
1 parent 598fffb commit f08b2f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pint/residuals.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def calc_whitened_resids(self):
r = self.calc_time_resids()
nr = sum(self.noise_resids.values())
sigma = self.get_data_error()
return (r - nr) / sigma
return ((r - nr) / sigma).to(u.dimensionless_unscaled)

def _calc_gls_chi2(self, lognorm=False):
"""Compute the chi2 when correlated noise is present in the timing model.
Expand Down

0 comments on commit f08b2f0

Please sign in to comment.