bugGNU Octave - Bugs: bug #39766, spectral_adf, spectral_xdf typos

 
 

bug #39766: spectral_adf, spectral_xdf typos

Submitter:  Muhali <muhali>
Submitted:  Mon 12 Aug 2013 08:51:35 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  mtmiller
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 13 Aug 2013 12:10:57 PM UTC, comment #3: 
Mike Miller <mtmiller>
Group Member
Tue 13 Aug 2013 06:58:27 AM UTC, comment #2: 


> how would you like to be credited for this fix (name and email)?


no credits.

Muhali <muhali>
Tue 13 Aug 2013 01:14:42 AM UTC, comment #1: 

Confirmed and tested your patch. You did not supply a changeset, how would you like to be credited for this fix (name and email)?

Mike Miller <mtmiller>
Group Member
Mon 12 Aug 2013 08:51:35 AM UTC, original submission:  

There are typos in the spectral_adf and spectral_xdf functions from the signal package. The attached patches fix them.


--- old/spectral_adf.m
+++ new/spectral_adf.m
@@ -47,7 +47,7 @@
   if (nargin == 1)
     w = triangle_lw (cr, b);
   else
-    win = str2func ([win "_lw")];
+    win = str2func ([win "_lw"]);
     w = feval (win, cr, b);
   endif




--- old/spectral_xdf.m
+++ new/spectral_xdf.m
@@ -46,7 +46,7 @@
   if (nargin == 1)
     w = triangle_sw (xr, b);
   else
-    win = str2func ([win "_sw")];
+    win = str2func ([win "_sw"]);
     w = feval (win, xr, b);
   endif


Muhali <muhali>

 

(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 mtmiller (Posted a comment)
  • -email is unavailable- added by muhali (Submitted the item)
  •  

    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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-08-13 mtmiller StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2013-08-13 mtmiller CategoryOctave Package Octave Function
        Item GroupNone Incorrect Result
        StatusNone Confirmed
        Assigned toNone mtmiller

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code