diff --git a/geomagio/algorithm/SqDistAlgorithm.py b/geomagio/algorithm/SqDistAlgorithm.py index efe86d13ad49d980219d0c70eb9d7a3222b3a75c..d79383de83a98dd9d4ba08d5592cbfba6a5bf504 100644 --- a/geomagio/algorithm/SqDistAlgorithm.py +++ b/geomagio/algorithm/SqDistAlgorithm.py @@ -471,7 +471,7 @@ class SqDistAlgorithm(Algorithm): s[i + 1:i + nts / 2 + 1] = (s[i + 1:i + nts / 2 + 1] + gamma * (1 - alpha) * et * weights[nts / 2 + 1:]) - + # update l and b using equation-error formulation l = l + phi * b + alpha * et b = phi * b + alpha * beta * et