FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16838&edit=1

ID: 16838
Updated by: ken@linux.ie
Reported By: piran at sine-nomine dot co dot uk
Summary: subMatrix has an error where checking for the number
of columns
Status: Open
Type: Bug
Package: Math_Matrix
Operating System: Windows 7
Package Version: 0.8.5
PHP Version: 5.3.1
-Assigned To:
+Assigned To: kguest
Roadmap Versions:
New Comment:

-Assigned To:
+Assigned To: kguest



Previous Comments:
------------------------------------------------------------------------

[2009-11-26 11:31:49] piran

Description:
------------
MAtrix.php line 949 :
if ($cols + $ncols > $nr) {
return PEAR::raiseError('Columns in submatrix more than in
original matrix');

the nr should be nc number of columns) and in this function $cols and
$rows are undefined and should be $col and $row.

------------------------------------------------------------------------

Search Discussions

  • Ken at Mar 15, 2010 at 12:31 am
    Edit report at http://pear.php.net/bugs/bug.php?id=16838&edit=1

    ID: 16838
    Updated by: ken@linux.ie
    Reported By: piran at sine-nomine dot co dot uk
    Summary: subMatrix has an error where checking for the number
    of columns
    -Status: Assigned
    +Status: Closed
    Type: Bug
    Package: Math_Matrix
    Operating System: Windows 7
    Package Version: 0.8.5
    PHP Version: 5.3.1
    Assigned To: kguest
    Roadmap Versions:
    New Comment:

    -Status: Assigned
    +Status: Closed
    This bug has been fixed in SVN.

    If this was a documentation problem, the fix will appear on
    pear.php.net by the end of next Sunday (CET).

    If this was a problem with the pear.php.net website, the change should
    be live shortly.

    Otherwise, the fix will appear in the package's next release.

    Thank you for the report and for helping us make PEAR better.




    Previous Comments:
    ------------------------------------------------------------------------

    [2010-03-15 01:23:32] kguest

    -Assigned To:
    +Assigned To: kguest


    ------------------------------------------------------------------------

    [2009-11-26 11:31:49] piran

    Description:
    ------------
    MAtrix.php line 949 :
    if ($cols + $ncols > $nr) {
    return PEAR::raiseError('Columns in submatrix more than in
    original matrix');

    the nr should be nc number of columns) and in this function $cols and
    $rows are undefined and should be $col and $row.

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMar 15, '10 at 12:28a
activeMar 15, '10 at 12:31a
posts2
users1
websitepear.php.net

1 user in discussion

Ken: 2 posts

People

Translate

site design / logo © 2022 Grokbase