From f08b2f04277b75211162764d5bc6f83465808bea Mon Sep 17 00:00:00 2001 From: Abhimanyu Susobhanan Date: Fri, 3 Nov 2023 11:28:30 -0500 Subject: [PATCH] unit --- src/pint/residuals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pint/residuals.py b/src/pint/residuals.py index 2b6d50e11..c947ef588 100644 --- a/src/pint/residuals.py +++ b/src/pint/residuals.py @@ -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.