bugGNU Octave - Bugs: bug #60842, ind2sub seealso ind2sub

 
 

bug #60842: ind2sub seealso ind2sub

Submitter:  None
Submitted:  Mon 28 Jun 2021 04:13:01 AM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 28 Jun 2021 08:39:00 AM UTC, comment #1: 

Thank you for your report.

I fixed that typo here:
https://hg.savannah.gnu.org/hgweb/octave/rev/6e42c37fbc8a

Closing report as fixed.

Markus Mützel <mmuetzel>
Group administrator
Mon 28 Jun 2021 04:13:01 AM UTC, original submission:  

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)


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-28 mmuetzel StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code