Mercurial > hg > octave-nkf
comparison scripts/deprecated/geometric_inv.m @ 11744:eb0a86b3deb9 release-3-0-x
don't embed newline in warning messages in deprecated functions
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 09 Apr 2008 12:57:36 -0400 |
parents | 72830070a17b |
children |
comparison
equal
deleted
inserted
replaced
11743:c7070f6cadc8 | 11744:eb0a86b3deb9 |
---|---|
31 | 31 |
32 persistent warned = false; | 32 persistent warned = false; |
33 if (! warned) | 33 if (! warned) |
34 warned = true; | 34 warned = true; |
35 warning ("Octave:deprecated-function", | 35 warning ("Octave:deprecated-function", |
36 ["geometric_inv is obsolete and will be removed from a future\n", | 36 "geometric_inv is obsolete and will be removed from a future version of Octave; please use geoinv instead"); |
37 "version of Octave, please use geoinv instead"]); | |
38 endif | 37 endif |
39 | 38 |
40 inv = geoinv (varargin{:}); | 39 inv = geoinv (varargin{:}); |
41 | 40 |
42 endfunction | 41 endfunction |