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

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

[Octave-bug-tracker] [bug #60842] ind2sub seealso ind2sub


From: anonymous
Subject: [Octave-bug-tracker] [bug #60842] ind2sub seealso ind2sub
Date: Mon, 28 Jun 2021 00:13:03 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

URL:
  <https://savannah.gnu.org/bugs/?60842>

                 Summary: ind2sub seealso ind2sub
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 28 Jun 2021 04:13:01 AM UTC
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: wangshuo@inhand.com.cn
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

sub2ind seealso ind2sub, which is correct:

help sub2ind
...
     See also: ind2sub, size.


But ind2sub seealso ind2sub, which is wrong:

help ind2sub
...
     See also: ind2sub, size.


Here is a small patch to fix this typo:

diff -u a/libinterp/corefcn/sub2ind.cc b/libinterp/corefcn/sub2ind.cc
--- a/libinterp/corefcn/sub2ind.cc
+++ b/libinterp/corefcn/sub2ind.cc
@@ -255,7 +255,7 @@
     @result{} r =  2   8
 @end group
 @end example
-@seealso{ind2sub, size}
+@seealso{sub2ind, size}
 @end deftypefn */)
 {
   if (args.length () != 2)





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60842>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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