octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

test fftfilt fail w/ current tip


From: Dmitri A. Sergatskov
Subject: test fftfilt fail w/ current tip
Date: Tue, 23 Jul 2013 13:39:57 -0500

octave:3> test fftfilt
  ***** test
 b = [1 1];
 x = [1, zeros(1,9)];
 assert (fftfilt (b,  x  ), [1 1 0 0 0 0 0 0 0 0]  );
 assert (fftfilt (b,  x.'), [1 1 0 0 0 0 0 0 0 0].');
 assert (fftfilt (b.',x  ), [1 1 0 0 0 0 0 0 0 0]  );
 assert (fftfilt (b.',x.'), [1 1 0 0 0 0 0 0 0 0].');
 assert (fftfilt (b,  [x.' x.']), [1 1 0 0 0 0 0 0 0 0].'*[1 1]);
 assert (fftfilt (b,  [x.'+eps x.']) == [1 1 0 0 0 0 0 0 0 0].'*[1 1], [false(10, 1) true(10, 1)]);
!!!!! test failed
assert (fftfilt (b, [x.' + eps, x.']) == [1, 1, 0, 0, 0, 0, 0, 0, 0, 0].' * [1, 1],[false(10, 1), true(10, 1)]) expected
   0   1
   0   1
   0   1
   0   1
   0   1
   0   1
   0   1
   0   1
   0   1
   0   1
but got
   1   1
   0   1
   0   1
   0   1
   0   1
   0   1
   0   1
   0   1
   0   1
   0   1
values do not match
shared variables
  scalar structure containing the fields:

    b = [](0x0)
    x = [](0x0)
    r = [](0x0)

hg tip
changeset:   17035:08f0e372d006
tag:         tip
user:        Torsten <address@hidden>
date:        Mon Jul 22 23:18:50 2013 +0200
summary:     doc viewer: correct the anchor position of the desired doc entry

Test passes with 3.6.4.

Dmitri.
--


reply via email to

[Prev in Thread] Current Thread [Next in Thread]