Mercurial > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
17306:09543e9c8f40 | 17307:4448cc742880 |
---|---|
189 rightcontinuous = true; | 189 rightcontinuous = true; |
190 endif | 190 endif |
191 endif | 191 endif |
192 | 192 |
193 if ((rightcontinuous && (x(end) < x(1))) | 193 if ((rightcontinuous && (x(end) < x(1))) |
194 || (~ rightcontinuous && (x(end) > x(1)))) | 194 || (! rightcontinuous && (x(end) > x(1)))) |
195 ## Switch between left-continuous and right-continuous | 195 ## Switch between left-continuous and right-continuous |
196 x = flipud (x); | 196 x = flipud (x); |
197 y = flipud (y); | 197 y = flipud (y); |
198 endif | 198 endif |
199 | 199 |