From: <dg...@um...> - 2004-10-15 23:58:14
|
Oops. Good catch. -- Daniel From: David Bateman <Dav...@mo...> >=20 > Ok, done, but your patch is wrong.. It should read >=20 > if( nargin < 3 || nargin > 4 ) > usage( "newyp =3D irsa_resample (xp, yp, newxp, [lm] )" ); > endif >=20 > D. >=20 > According to dg...@um... <dg...@um...> (on 10/08/04): > > Will someone add this to the cvs please? The lm parameter won't work w= ithout it. > >=20 > > --- /usr/share/octave/2.1.57/site/m/octave-forge/irsa/irsa_resample.m = 2004-10-07 11:23:03.000000000 -0700 > > +++ /usr/share/octave/2.1.57/site/m/octave-forge/irsa/irsa_resample.m.o= rig 2004-07-07 18:42:32.000000000 -0700 > > @@ -40,7 +40,7 @@ > >=20 > > function newyp =3D irsa_resample (xp, yp, newxp, lm ) > >=20 > > - if( nargin < 3 ) > > + if( nargin !=3D 3 ) > > usage( "newyp =3D irsa_resample (xp, yp, newxp, [lm] )" ); > > endif > >=20 > >=20 > > -- > > Daniel --=20 ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm |