PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Math » Math_Matrix » Bug #7700

Bug in setCol()

Details

Submitted2006-05-22 20:42 UTC
Fromprovent at o2 dot pl
StatusBogus
PackageMath_Matrix
PHP Version5.1.1
Roadmaps(Not assigned)

Comments

[2006-05-22 20:42 UTC] provent at o2 dot pl

Description:
------------
In method setCol() is $this->_num_cols, should be $this->_num_rows.

[2006-05-23 21:11 UTC] provent at o2 dot pl

Sorry, but I always have error: 'Incorrect size for matrix column'. I think that in instruction 'if' whose's checking column size should be $this->_num_rows, because it is column size.

File: Matrix.php (version 0.8.5), line 472.