Mercurial > hg > octave-nkf
changeset 9246:6e9ba936e983
interp3: don't require interpolation grid and data to have same size
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 22 May 2009 14:02:02 -0400 |
parents | 16f53d29049f |
children | b2790fd23800 |
files | scripts/ChangeLog scripts/general/interp3.m |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2009-05-22 John W. Eaton <jwe@octave.org> + + * general/interp3.m: Don't require interpolation grid to have same + size as data. From Kris Thielemans <kris.thielemans@imperial.ac.uk>. + 2009-05-19 Carlo de Falco <kingcrimson@tiscali.it> * pkg/pkg.m: Fix a bug when quering only one non installed package
--- a/scripts/general/interp3.m +++ b/scripts/general/interp3.m @@ -91,7 +91,7 @@ x = varargin (2:4); if (any (! cellfun (@isvector, x))) for i = 2 : 3 - if (! size_equal (x{1}, x{i}) || ! size_equal (x{i}, v)) + if (! size_equal (x{1}, x{i})) error ("dimensional mismatch"); endif x{i} = permute (x{i}, [2, 1, 3]);