octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #34893] conv2 produces different results for s


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #34893] conv2 produces different results for shape 'valid' depending on the orientation of matrix B
Date: Tue, 17 Apr 2012 11:54:41 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120315 Iceweasel/3.5.16 (like Firefox/3.5.16)

Follow-up Comment #11, bug #34893 (project octave):

As mentioned on the mailing list I attach a changeset of a patch by Sunghyun
Cho <address@hidden>. After making the change make test reports no changes
and the following cases (which failed before) now succeed:


> conv([1:5].',[1:2].','valid') 
ans =

    4
    7
   10
   13

> conv([1:5],[1:2],'valid') 
ans =

    4    7   10   13

> conv2([1:5;1:5],[1:2],'valid') 
ans =

    4    7   10   13
    4    7   10   13

> conv2([1:5;1:5].',[1:2].','same')
ans =

    4    4
    7    7
   10   10
   13   13
   10   10

> conv2([1:5;1:5],[1:2],'same') 
ans =

    4    7   10   13   10
    4    7   10   13   10


(file #25669)
    _______________________________________________________

Additional Item Attachment:

File name: conv2.diff                     Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34893>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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