From b6c5cca0f89634cec82a2cb289ef66f5c1400ae3 Mon Sep 17 00:00:00 2001 From: Peter Luenenschloss <peter.luenenschloss@ufz.de> Date: Sat, 23 Jan 2021 11:04:28 +0100 Subject: [PATCH] another vorzeichenfehler --- saqc/funcs/curvefit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saqc/funcs/curvefit.py b/saqc/funcs/curvefit.py index cef464e85..8e61688de 100644 --- a/saqc/funcs/curvefit.py +++ b/saqc/funcs/curvefit.py @@ -190,7 +190,7 @@ def fitPolynomial(data: DictOfSeries, field: str, flagger: BaseFlagger, ) if return_residues: - residues = residues - to_fit + residues = to_fit - residues data[field] = residues if eval_flags: -- GitLab