changeset 20531:1339ad3c9faa stable

Fix typo in str2func docstring. * ov-fcn-handle.cc (Ffunc2str): Fix typo where 'a' should be '@'.
author Rik <rik@octave.org>
date Tue, 22 Sep 2015 02:06:17 -0700
parents 635c93bba6b6
children 19617a5b7202
files libinterp/octave-value/ov-fcn-handle.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/octave-value/ov-fcn-handle.cc	Sun Sep 20 11:27:36 2015 +0200
+++ b/libinterp/octave-value/ov-fcn-handle.cc	Tue Sep 22 02:06:17 2015 -0700
@@ -1856,8 +1856,8 @@
 functions are ignored in the lookup.\n\
 \n\
 Note: @code{str2func} does not currently accept strings which define\n\
-anonymous functions (those which begin with @samp{a}).\n\
-Use @code{eval (@var{str})} as a replacement.\n\
+anonymous functions (those which begin with @samp{@@}).\n\
+Use @w{@code{eval (@var{str})}} as a replacement.\n\
 @seealso{func2str, inline}\n\
 @end deftypefn")
 {