[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52067] dconv2.f out of bound
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #52067] dconv2.f out of bound |
Date: |
Fri, 22 Sep 2017 14:35:38 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #2, bug #52067 (project octave):
Checking through the tests in conv2.cc, the first one that causes the
out-of-bounds access is one that uses the 'valid' shape.
### Test shapes
%!shared A, B, C
%! A = rand (3, 4);
%! B = rand (4);
%! C = conv2 (A, B);
#%!assert (conv2 (A,B, "full"), C)
#%!assert (conv2 (A,B, "same"), C(3:5,3:6))
%!assert (conv2 (A,B, "valid"), zeros (0, 1))
Bug #34893 might be relevant. Or possibly bug #39314.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52067>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/