Bug 820791 - octave function filter() does not take an initial state
octave function filter() does not take an initial state
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: octave (Show other bugs)
16
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Rakesh Pandit
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-10 20:59 EDT by Henry Leinhos
Modified: 2012-05-11 18:05 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-05-11 07:11:03 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Henry Leinhos 2012-05-10 20:59:29 EDT
Description of problem:
filter() function does not accept an initial state


Version-Release number of selected component (if applicable):
octave-3.4.3-1.fc16.x86_64


How reproducible:
every time


Steps to Reproduce:
1. run octave
2. in octave:
octave:3> a=1;
octave:4> b=ones(5,1)/5;
octave:5> [x IS] = filter(b,a,[1;zeros(10,1)],[])
octave:6> IS
IS =

   0
   0
   0
   0
octave:7> [x IS] = filter(b,a,[1;zeros(10,1)],IS);
error: filter: first dimension of SI must be of length max (length (a), length (b)) - 1

but
octave:7> max (length (a), length (b)) - 1
ans =  4

???

Expected results:

IS is the returned filter state and is the correct dimensions, but is not accepted as an input parameter


Additional info:
Comment 1 Susi Lehtola 2012-05-11 04:44:44 EDT
Upstreamed
https://savannah.gnu.org/bugs/index.php?36449
Comment 2 Susi Lehtola 2012-05-11 07:11:03 EDT
This is fixed in 3.6.1 which is available in Fedora 17.
Comment 3 Henry Leinhos 2012-05-11 18:05:38 EDT
Just tried the F17 source rpm and it builds without any problem (+ all the octave-forge packages).

Thanks

Note You need to log in before you can comment on or make changes to this bug.