[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 16:56:06 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Update of bug #52067 (project octave):
Status: None => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #3:
The problem is that the "valid" shape can result in empty matrices. However,
the Fortran code was never set up to handle such an input. It assumes that
trivial cases like that have been filtered out. I added a test in
oct-convn.cc on whether the result matrix dimensions make it empty, and if it
is then it short-circuits and returns from the function rather than passing
the A and B matrices down to Fortran. See
http://hg.savannah.gnu.org/hgweb/octave/rev/88a593fa1388.
Marking as fixed and closing report.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52067>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/