[Top][All Lists]

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

[Octave-bug-tracker] [bug #41448] ppval returns wrong dimensions for sca

From: Rik
Subject: [Octave-bug-tracker] [bug #41448] ppval returns wrong dimensions for scalar valued polynomial
Date: Mon, 03 Feb 2014 22:25:40 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

Update of bug #41448 (project octave):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 


Follow-up Comment #1:


The function ppval is located in scripts/polynomial/ppval.m.  At the bottom of
the function just before returning the result to the user I see this

  ## FIXME: Why is this commented out, rather than just removed?
  #if (d == 1)
  #  yi = reshape (yi, sxi);

If I uncomment this section of code then I get the correct shape.  I'm not
sure why this happened, but I made the fix by uncommenting out the code.  I
also added a built-in self test for this so it won't happen again.  The fix
was made on the stable branch
(http://hg.savannah.gnu.org/hgweb/octave/rev/90568d7fe382) and will be a part
of the 3.8.1 bug fix release.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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