Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.7

Bug #16838 subMatrix has an error where checking for the number of columns
Submitted: 2009-11-26 16:31 UTC
From: piran Assigned: kguest
Status: Closed Package: Math_Matrix (version 0.8.5)
PHP Version: 5.3.1 OS: Windows 7
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 12 + 35 = ?

 
 [2009-11-26 16:31 UTC] piran (Piran Fletcher)
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.

Comments

 [2010-03-15 05:23 UTC] kguest (Ken Guest)
-Assigned To: +Assigned To: kguest
 [2010-03-15 05:27 UTC] kguest (Ken Guest)
-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.