diff scripts/general/interp1.m @ 17307:4448cc742880

Use '!' not operator rather than '~' in core m-files. * scripts/general/interp1.m, scripts/image/rgb2ind.m, scripts/plot/findobj.m, scripts/polynomial/polyfit.m, test/build-sparse-tests.sh, test/classes/@Snork/end.m, test/classes/@Snork/mpower.m, test/classes/@Snork/ne.m, test/classes/@Snork/power.m, test/classes/@Snork/subsasgn.m, test/classes/@Snork/subsref.m, test/classes/@Spork/loadobj.m, test/classes/classes.tst: Use '!' not operator rather than '~' in core m-files.
author Rik <rik@octave.org>
date Wed, 21 Aug 2013 17:04:44 -0700
parents 09543e9c8f40
children d63878346099
line wrap: on
line diff
--- a/scripts/general/interp1.m
+++ b/scripts/general/interp1.m
@@ -191,7 +191,7 @@
   endif
 
   if ((rightcontinuous && (x(end) < x(1)))
-      || (~ rightcontinuous && (x(end) > x(1))))
+      || (! rightcontinuous && (x(end) > x(1))))
     ## Switch between left-continuous and right-continuous
     x = flipud (x);
     y = flipud (y);