Mercurial > octave-nkf
comparison scripts/deprecated/spatan2.m @ 10549:95c3e38098bf
Untabify .m scripts
author | Rik <code@nomad.inbox5.com> |
---|---|
date | Fri, 23 Apr 2010 11:28:50 -0700 |
parents | eb63fbe60fab |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
10548:479536c5bb10 | 10549:95c3e38098bf |
---|---|
26 function retval = spatan2 (varargin) | 26 function retval = spatan2 (varargin) |
27 persistent warned = false; | 27 persistent warned = false; |
28 if (! warned) | 28 if (! warned) |
29 warned = true; | 29 warned = true; |
30 warning ("Octave:deprecated-function", | 30 warning ("Octave:deprecated-function", |
31 "spatan2 is obsolete and will be removed from a future version of Octave; please use atan2 instead"); | 31 "spatan2 is obsolete and will be removed from a future version of Octave; please use atan2 instead"); |
32 endif | 32 endif |
33 | 33 |
34 retval = atan2 (varargin{:}); | 34 retval = atan2 (varargin{:}); |
35 | 35 |
36 endfunction | 36 endfunction |