Skip to content

Commit

Permalink
removing unused norm keyword from test functions for filtertools
Browse files Browse the repository at this point in the history
  • Loading branch information
bnaecker committed Nov 1, 2016
1 parent 503d6d0 commit 209dd0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_filtertools.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_revco_1d():
response = flt.linear_prediction(true, stimulus)

# Reverse correlation
filt = flt.revco(response, stimulus, filter_length, norm=True)
filt = flt.revco(response, stimulus, filter_length)
tol = 0.1
assert np.allclose(true, filt, atol=tol)

Expand All @@ -76,6 +76,6 @@ def test_revco_nd():
response = flt.linear_prediction(true, stimulus)

# Reverse correlation
filt = flt.revco(response, stimulus, filter_length, norm=True)
filt = flt.revco(response, stimulus, filter_length)
tol = 0.1
assert np.allclose(true, filt, atol=tol)

0 comments on commit 209dd0d

Please sign in to comment.