Skip to content

Commit 202d6ac

Browse files
committed
getting tests to pass
1 parent ab626c9 commit 202d6ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pynumdiff/tests/test_optimize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def test_spectraldiff():
102102
params1, val1 = optimize(spectraldiff, x, dt, dxdt_truth=dxdt_truth, padding='auto')
103103
params2, val2 = optimize(spectraldiff, x, dt, tvgamma=tvgamma, padding='auto')
104104
np.testing.assert_almost_equal(params1['high_freq_cutoff'], 0.105, decimal=3)
105-
np.testing.assert_almost_equal(params2['high_freq_cutoff'], 0.21, decimal=2)
105+
np.testing.assert_almost_equal(params2['high_freq_cutoff'], 0.10, decimal=2)
106106

107107
def test_polydiff():
108108
params1, val1 = optimize(polydiff, x, dt, search_space={'step_size':1}, dxdt_truth=dxdt_truth, padding='auto')

0 commit comments

Comments
 (0)