Mercurial > hg > octave-nkf
diff libinterp/corefcn/help.cc @ 17311:56404cdcb723
Correct parfor keyword documentation and add some %!tests.
* libinterp/corefcn/help.cc: Correct deftypefn for parfor to use "parfor".
* test/for.tst: Add 2 %!tests for parfor.
* test/jit.tst: Add %!test for parfor for jit.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 21 Aug 2013 19:39:56 -0700 |
parents | bc924baa2c4e |
children | d63878346099 |
line wrap: on
line diff
--- a/libinterp/corefcn/help.cc +++ b/libinterp/corefcn/help.cc @@ -641,8 +641,8 @@ pair_type ("parfor", "-*- texinfo -*-\n\ -@deftypefn {Keyword} {} for @var{i} = @var{range}\n\ -@deftypefnx {Keyword} {} for (@var{i} = @var{range}, @var{maxproc})\n\ +@deftypefn {Keyword} {} parfor @var{i} = @var{range}\n\ +@deftypefnx {Keyword} {} parfor (@var{i} = @var{range}, @var{maxproc})\n\ Begin a for loop that may execute in parallel.\n\ \n\ @example\n\