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


bug #60842: ind2sub seealso ind2sub

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:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  dev
Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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

Thank you for your report.

I fixed that typo here:

Closing report as fixed.

Markus M├╝tzel <mmuetzel>
Project Member
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)



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

Attach Files:

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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.7