bugGNU Octave - Bugs: bug #30968, incorrect sign in conv2 (...,...

 
 

bug #30968: incorrect sign in conv2 (..., 'valid')

Submitted by:  Thorsten Meyer <tmeyier>
Submitted on:  Sun 05 Sep 2010 12:15:12 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Jaroslav Hajek <highegg>
Originator Name: Thorsten MeyerOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 07 Sep 2010 10:27:54 AM UTC, comment #1:

Fixed by
http://hg.savannah.gnu.org/hgweb/octave/rev/1094868ca10d

thanks for report.

Jaroslav Hajek <highegg>In charge of this item.
Sun 05 Sep 2010 12:15:12 PM UTC, original submission:

In octave freshly built from mercurial, I get the following bug:

A = [1 2 3; 4 5 6; 7 8 9];

conv2(A, [1;-1])
ans =

1 2 3
3 3 3
3 3 3
-7 -8 -9

octave:72> conv2(A, [1;-1], 'valid')
ans =

-3 -3 -3
-3 -3 -3

I believe that the latter should be equal to the middle rows of the first result.

Thorsten Meyer <tmeyier>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by highegg (Updated the item)
  • -unavailable- added by tmeyier (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
    Tue 07 Sep 2010 10:27:54 AM UTChigheggStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 06 Sep 2010 09:25:09 AM UTChigheggAssigned toNone=>highegg

    Back to the top


    Powered by Savane 3.1-cleanup1