Skip to content

Commit 4c83e5f

Browse files
Merge branch 'master' into new_precond
2 parents 39c61e8 + 9c0c0cf commit 4c83e5f

File tree

4 files changed

+6
-578
lines changed

4 files changed

+6
-578
lines changed

pyproject.toml

-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ exclude = '''
2626
[tool.pylint.messages_control]
2727
# Exceptions suggested from Black: bad-continuation, bad-whitespace
2828
disable = """
29-
bad-continuation,
30-
bad-whitespace,
31-
3229
invalid-name,
3330
3431
no-else-return,

tests/test_filtsmooth/test_gaussfiltsmooth/test_extendedkalman.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def test_filtsmooth(self):
6767
normaliser = np.sqrt(comp.size)
6868
filtrmse = np.linalg.norm(filtms[1:, :2] - comp) / normaliser
6969
smoormse = np.linalg.norm(smooms[1:, :2] - comp) / normaliser
70-
obs_rmse = np.linalg.norm(self.obs - comp) / normaliser
70+
obs_rmse = np.linalg.norm(self.obs[:, :2] - comp) / normaliser
7171

7272
if VISUALISE is True:
7373
plt.title(
@@ -190,7 +190,7 @@ def test_filtsmooth(self):
190190
normaliser = np.sqrt(comp.size)
191191
filtrmse = np.linalg.norm(filtms[:, 0] - comp) / normaliser
192192
smoormse = np.linalg.norm(smooms[:, 0] - comp) / normaliser
193-
obs_rmse = np.sqrt(self.r[0, 0])
193+
obs_rmse = np.linalg.norm(self.obs[:, 0] - comp[1:]) / normaliser
194194

195195
if VISUALISE is True:
196196
fig, (ax1, ax2) = plt.subplots(1, 2)

0 commit comments

Comments
 (0)