bugGNU Octave - Bugs: bug #55985, small patch for 5.1.0 document


bug #55985: small patch for 5.1.0 document

Submitted by:  None
Submitted on:  Sat 23 Mar 2019 06:22:47 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:  5.1.0
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 25 Mar 2019 04:51:36 AM UTC, comment #1: 

Good catches.  I checked them in on the stable branch here (https://hg.savannah.gnu.org/hgweb/octave/rev/589b00536a39).  This will be a part of the 5.2.0 bug fix release.

Marking as fixed and closing report.

Rik <rik5>
Project Administrator
Sat 23 Mar 2019 06:22:47 AM UTC, original submission:  

In the mat2cell docstring header, the variable "d?" has been renamed to "dim?" in changeset https://hg.savannah.gnu.org/hgweb/octave/rev/b326eeae92d0
but in the text, there is still one "di" left.
Here is a patch for this:

--- a/libinterp/corefcn/cellfun.cc
+++ b/libinterp/corefcn/cellfun.cc
@@ -2112,7 +2112,7 @@
 integers which specifies how to divide that dimension's elements amongst the
 new elements in the output @var{C}.  The number of elements in the @var{i}-th
 dimension is @code{size (@var{A}, @var{i})}.  Because all elements in @var{A}
-must be partitioned, there is a requirement that @code{sum (@var{di}) == size
+must be partitioned, there is a requirement that @code{sum (@var{dimi}) == size
 (@var{A}, i)}.  The size of the output cell @var{C} is numel (@var{dim1}) x
 numel (@var{dim2}) x @dots{} x numel (@var{dimn}).

And here is another small patch for polyeig.m

--- a/scripts/polynomial/polyeig.m
+++ b/scripts/polynomial/polyeig.m
@@ -29,8 +29,8 @@
 ## @code{polyeig} solves the eigenvalue problem
-## @code{(@var{C0} + @var{C1} @var{z} + @dots{} + @var{Cl} z^@var{l}) @var{v} =
-## 0}.
+## @code{(@var{C0} + @var{C1} @var{z} + @dots{} + @var{Cl} @var{z}^@var{l})
+## @var{v} = 0}.
 ## Note that the eigenvalues @var{z} are the zeros of the matrix polynomial.
 ## @var{z} is a row vector with @code{@var{n}*@var{l}} elements.  @var{v} is a



(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 rik5 (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
    2019-03-25 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.7