[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: |
Fri, 17 Aug 2012 14:50:41 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1 |
Follow-up Comment #9, bug #36732 (project octave):
After applying this patch, I get:
>>>>> processing
/media/GoFlex08/qss/d/src/octave/hg/octave/scripts/general/interp1.m
***** assert (interp1 ([1,2,2,3,4],[0,1,4,2,1],[-1,1.5,2,2.5,3.5], "linear",
"extrap"), [-2,0.5,4,3,1.5])
!!!!! test failed
interp1: X should have distinct values
shared variables scalar structure containing the fields:
xp =
0 2 4 6 8 10
yp =
0.00000 0.58779 -0.95106 0.95106 -0.58779 -0.00000
xi =
-1.00000 0.00000 2.20000 4.00000 6.60000 10.00000
11.00000
style = *spline
***** assert (interp1 ([4,4,3,2,0],[0,1,4,2,1],[1.5,4,4.5], "linear"),
[1.75,1,NA])
!!!!! test failed
interp1: X should have distinct values
shared variables scalar structure containing the fields:
xp =
0 2 4 6 8 10
yp =
0.00000 0.58779 -0.95106 0.95106 -0.58779 -0.00000
xi =
-1.00000 0.00000 2.20000 4.00000 6.60000 10.00000
11.00000
style = *spline
========================================
devel system on Fedora 17 x86_64 and JIT and GUI enabled. No errors
before this patch,
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36732>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Vivek, 2012/08/08
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Vivek, 2012/08/08
- Message not available
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Ben Abbott, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity,
Michael Godfrey <=
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Carnë Draug, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Ben Abbott, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Vivek, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Vivek, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/17
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Carnë Draug, 2012/08/18
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Carnë Draug, 2012/08/18
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/18