|
From: | Dmitri A. Sergatskov |
Subject: | Re: test fftfilt fail w/ current tip |
Date: | Tue, 23 Jul 2013 21:07:51 -0500 |
I looks like the test that is failing is supposed to test the arithmetic of the case when the inputs are not integer. When the inputs are integer (second column), the result is "cast" to integer by dropping the floating portion. In the first column the inputs are not all integer so the epsilon should be left intact. However, perhaps because of machine precision the epsilon is being lost and it just so happens the output is exactly 1.
Dmitri, on your system, please test a larger discrepancy, say 2*eps or 3*eps:
assert (fftfilt (b, [x.'+2*eps x.']) == [1 1 0 0 0 0 0 0 0 0].'*[1 1], [false(10, 1) true(10, 1)]);
Dan
[Prev in Thread] | Current Thread | [Next in Thread] |