[Top][All Lists]

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

[Octave-bug-tracker] [bug #32040] ppval fails after use of fnder

From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #32040] ppval fails after use of fnder
Date: Tue, 04 Jan 2011 14:50:56 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10

Follow-up Comment #1, bug #32040 (project octave):

I noticed the demo for mkpp no longer runs. Perhaps the changeset which
improved the compatibility with ML has resulted in breaking some older code.
The changeset is linked to below.


However, it doesn't look to me like the problem is with mkpp, but with fnder.
Looking at ppd, there are 9 different regions for which polynomials must be
specified. However, ppd.P only includes coefficients for 8 regions. Thus when
the evaluating within the last region an error occurs.

dyi = ppval(ppd,ppd.x(1:end-2));
dyi = ppval(ppd,ppd.x(1:end-1)-eps);
dyi = ppval(ppd,ppd.x(1:end-1));
error: ppval: A(I,J,...): index to dimension 2 out of bounds; value 9 out of
bound 8

I've cc'd Kai Habel.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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