bugGNU Octave - Bugs: bug #39647, Failed test in fftfilt due to...

 
 

bug #39647: Failed test in fftfilt due to machine round off

Submitted by:  Dan Sebald <sebald>
Submitted on:  Thu 01 Aug 2013 06:17:41 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 01 Aug 2013 06:55:20 PM UTC, comment #1:

Thanks Dan for putting this up. I changed the tolerance to 2eps and it works for my setup too. Marking as fixed and closing report. Although it can be re-opened if 2eps doesn't work on all machines. See changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/b9ffacf34c2d).

Rik <rik5>
Project Administrator
Thu 01 Aug 2013 06:17:41 PM UTC, original submission:

A developer on the maintainers list reported:

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, because of machine precision the epsilon is being lost and it just so happens the output is exactly 1.

I asked the user to try increasing the perturbation to 2eps and that passed. We'll go with 2eps and if there are further reports of failure, increase that incrementally.

Dan Sebald <sebald>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #28738:  octave-fftfilt_test-2013aug01.patch added by sebald (962B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by sebald (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 01 Aug 2013 06:55:32 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 01 Aug 2013 06:28:17 PM UTCsebaldAttached File-=>Added octave-fftfilt_test-2013aug01.patch, #28738

    Back to the top


    Powered by Savane 3.1-cleanup1