Skip to content

Commit 852ad4c

Browse files
committed
Merge branch 'master' of github.com:florisvb/PyNumDiff
2 parents 5c5505e + 586a0ee commit 852ad4c

2 files changed

Lines changed: 20 additions & 92 deletions

File tree

examples/4_performance_analysis.ipynb

Lines changed: 19 additions & 91 deletions
Large diffs are not rendered by default.

pynumdiff/tests/test_optimize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_spectraldiff():
4242
params1, val1 = optimize(spectraldiff, x, dt, dxdt_truth=dxdt_truth, padding='auto')
4343
params2, val2 = optimize(spectraldiff, x, dt, tvgamma=tvgamma, padding='auto')
4444
np.testing.assert_almost_equal(params1['high_freq_cutoff'], 0.18, decimal=2)
45-
np.testing.assert_almost_equal(params2['high_freq_cutoff'], 0.45, decimal=2)
45+
np.testing.assert_almost_equal(params2['high_freq_cutoff'], 0.155, decimal=2)
4646

4747
def test_polydiff():
4848
params1, val1 = optimize(polydiff, x, dt, dxdt_truth=dxdt_truth, search_space_updates={'step_size':1}, padding='auto')

0 commit comments

Comments
 (0)