From e40d52b40158dd2b08188eeb66a9d9da73216227 Mon Sep 17 00:00:00 2001
From: "E. Joshua Rigler" <erigler@usgs.gov>
Date: Tue, 12 Feb 2019 15:19:56 -0700
Subject: [PATCH] Fix linting error in SqDistAlgorithm.py

---
 geomagio/algorithm/SqDistAlgorithm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geomagio/algorithm/SqDistAlgorithm.py b/geomagio/algorithm/SqDistAlgorithm.py
index e850ab0ea..a3a97e08a 100644
--- a/geomagio/algorithm/SqDistAlgorithm.py
+++ b/geomagio/algorithm/SqDistAlgorithm.py
@@ -533,7 +533,7 @@ class SqDistAlgorithm(Algorithm):
             # endif (np.isnan(et) or np.abs(et) > zthresh * sigma[i])
 
             # freeze state with last input for reinitialization
-            if i == (len(yobs)-1):
+            if i == (len(yobs) - 1):
                 yhat0 = yhat[len(yobs):(len(yobs) + hstep)].copy()
                 s0 = s[len(yobs):(len(yobs) + m)].copy() - r[i + 1]
                 l0 = l + r[i + 1]
-- 
GitLab