[Top][All Lists]

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

[Octave-bug-tracker] [bug #36732] interp1 does not check input for monot

From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity
Date: Sun, 19 Aug 2012 23:53:14 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1

Follow-up Comment #34, bug #36732 (project octave):

Agreed about after sorting.  
I would only suggest a somewhat clearer error:

  error ("interp1: X must have at most one pair of non-distinct values");
But, now that I look at it more carefully, it does not look
like your patch does this.  Or, am I wrong?

Anyhow, my version gives a warning for non-distinct pairs,
and errors for more non-distincts than 2.

Do you want to see it?



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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