octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50145] some small error in docstrings


From: anonymous
Subject: [Octave-bug-tracker] [bug #50145] some small error in docstrings
Date: Wed, 25 Jan 2017 14:30:19 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?50145>

                 Summary: some small error in docstrings
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 25 Jan 2017 02:30:18 PM UTC
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0
        Operating System: Any

    _______________________________________________________

Details:


--- /usr/share/octave/4.2.0/m/optimization/pqpnonneg.m
+++ /tmp/pqpnonneg.m
@@ -27,7 +27,7 @@
 ## @deftypefnx {} address@hidden, @var{minval}, @var{exitflag}, @var{output},
@var{lambda}] =} pqpnonneg (@dots{})
 ## Minimize @code{1/2*x'*c*x + d'*x} subject to @address@hidden >= 0}.
 ##
-## @var{c} ## and @var{d} must be real, and @var{c} must be symmetric and
+## @var{c} and @var{d} must be real, and @var{c} must be symmetric and
 ## positive definite.
 ##
 ## @var{x0} is an optional initial guess for @var{x}.



--- /mnt/usr/share/octave/4.2.0/m/help/warning_ids.m
+++ /tmp/warning_ids.m
@@ -295,7 +295,7 @@
 ## If the @code{Octave:resize-on-range-error} warning is enabled, print a
 ## warning when a matrix is resized by an indexed assignment with
 ## indices outside the current bounds.
-## By default, the ## @code{Octave:resize-on-range-error} warning is
disabled.
+## By default, the @code{Octave:resize-on-range-error} warning is disabled.
 ##
 ## @item Octave:separator-insert
 ## Print warning if commas or semicolons might be inserted


Besides, I'm not sure whether the following comment has the similar problem:

$ grep --context=3 --line-number '## .* ##'
/usr/share/octave/4.2.0/m/miscellaneous/xor.m 
60-  z = __xor__ (x, y);
61-
62-  ## Slow expansion to multiple arguments.
63:  ## Probably okay number of elements ## will be small.
64-  if (! isempty (varargin))
65-    for i = 1:numel (varargin)
66-      z = __xor__ (z, varargin{i});





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50145>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]