[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41838] crash with interp2
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #41838] crash with interp2 |
Date: |
Sat, 29 Mar 2014 19:14:44 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 |
Update of bug #41838 (project octave):
Status: Patch Submitted => In Progress
_______________________________________________________
Follow-up Comment #4:
I applied Stefan's patch to the stable branch here
(http://hg.savannah.gnu.org/hgweb/octave/rev/e7369c43ebe0). This at least
stops the segmentation fault.
Back to the root problem, there should be input validation of X and Y.
According to the documentation, when X and Y are grid vectors (rather than
matrices from meshgrid()), the *must* be strictly monotonic, but there is no
test for that. We could add one though.
What does Matlab do for these two test cases?
interp2(1:2, 2:-1:1, randn(2,2), (1:0.5:2)', 2:-0.5:1, 'pchip')
[X, Y] = meshgrid ([1 2], [2 1]);
interp2(X, Y, 2:-1:1, randn(2,2), (1:0.5:2)', 2:-0.5:1, 'pchip')
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41838>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41838] crash with interp2, Muhali, 2014/03/11
- [Octave-bug-tracker] [bug #41838] crash with interp2, Philip Nienhuis, 2014/03/11
- [Octave-bug-tracker] [bug #41838] crash with interp2, Stefan Mahr, 2014/03/11
- [Octave-bug-tracker] [bug #41838] crash with interp2, Ma Jun, 2014/03/16
- [Octave-bug-tracker] [bug #41838] crash with interp2, Mike Miller, 2014/03/26
- [Octave-bug-tracker] [bug #41838] crash with interp2,
Rik <=
- [Octave-bug-tracker] [bug #41838] crash with interp2, Stefan Mahr, 2014/03/29
- [Octave-bug-tracker] [bug #41838] crash with interp2, Muhali, 2014/03/31
- [Octave-bug-tracker] [bug #41838] interp2 needs input validation for strictly monotonic property, Rik, 2014/03/31
- [Octave-bug-tracker] [bug #41838] interp2 needs input validation for strictly monotonic property, Muhali, 2014/03/31
- [Octave-bug-tracker] [bug #41838] interp2 needs input validation for strictly monotonic property, Rik, 2014/03/31
- [Octave-bug-tracker] [bug #41838] interp2 needs input validation for strictly monotonic property, Muhali, 2014/03/31