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

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

[Octave-bug-tracker] [bug #51145] convn: incompatible results on empty i


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #51145] convn: incompatible results on empty inputs
Date: Tue, 30 May 2017 20:39:57 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Update of bug #51145 (project octave):

                 Summary: conv2 and filter2: incompatible results on empty
inputs => convn: incompatible results on empty inputs

    _______________________________________________________

Follow-up Comment #1:

I think this is a Matlab bug.  Even if the output ought to be of size
"size(A)+size(B)-1" then it should return something of size [4 4], and not [5
5].  We can have Octave return that [4 4] by simply removing those checks on
oct-conv.cc
http://hg.savannah.gnu.org/hgweb/octave/file/0e4ceda8fbcf/liboctave/numeric/oct-convn.cc#l135

But I am still unsure. If the point of full convolution is to include even
elements affected by padding, since there was no convolution done at all, the
return should be empty?

I am removing the filter2 part of the bug title, since that behaviour is
inherited from the conv functions.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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