bugGNU Octave - Bugs: bug #35959, test of fftfilt.m fails

 
 

bug #35959: test of fftfilt.m fails

Submitter:  wenchuang gan <meteorgan>
Submitted:  Fri 23 Mar 2012 02:55:52 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.6.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 26 Jul 2013 05:05:22 AM UTC, comment #1: 

I cannot reproduce this with either the current stable or development versions of Octave. Is this error still happening for you? Is Octave built with or without FFTW? What processor/architecture are you running on?

Mike Miller <mtmiller>
Group Member
Fri 23 Mar 2012 02:55:52 AM UTC, original submission:  


>>>>> processing /home/meteorgan/downloads/octave-3.6.1/scripts/signal/fftfilt.m
1495   ***** test
1496   r = sqrt(1/2) * (1+i);
1497   b = b*r;
1498   assert(fftfilt(b, x  ), r*[1 1 0 0 0 0 0 0 0 0]  , eps);
1499   assert(fftfilt(b, r*x), r*r*[1 1 0 0 0 0 0 0 0 0], eps);
1500   assert(fftfilt(b, x.'), r*[1 1 0 0 0 0 0 0 0 0].', eps);
1501 !!!!! test failed
1502 assert (fftfilt (b, r * x),r * r * [1, 1, 0, 0, 0, 0, 0, 0, 0, 0],eps) expected
1503  Columns 1 through 5:
1504    0.00000 + 1.00000i   0.00000 + 1.00000i   0.00000 + 0.00000i   0.00000 + 0.00000i   0.00000 + 0.00000i
1505  Columns 6 through 10:
1506    0.00000 + 0.00000i   0.00000 + 0.00000i   0.00000 + 0.00000i   0.00000 + 0.00000i   0.00000 + 0.00000i
1507 but got
1508  Columns 1 through 5:
1509   -0.00000 + 1.00000i   0.00000 + 1.00000i   0.00000 - 0.00000i  -0.00000 - 0.00000i  -0.00000 + 0.00000i
1510  Columns 6 through 10:
1511   -0.00000 + 0.00000i  -0.00000 + 0.00000i  -0.00000 + 0.00000i  -0.00000 + 0.00000i  -0.00000 + 0.00000i
1512 maximum absolute error 2.25371e-16 exceeds tolerance 2.22045e-16

This is problem is very similar to bug #34461 http://savannah.gnu.org/bugs/?34461

wenchuang gan <meteorgan>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by meteorgan (Submitted the item)
  • -email is unavailable- added by meteorgan
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-04 rik5 StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2013-07-26 mtmiller StatusNone Need Info
    2012-03-23 meteorgan Carbon-Copy- Added meteorgan

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code