Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Math-MatrixReal CPAN distribution.

Report information
The Basics
Id: 116968
Status: new
Priority: 0/
Queue: Math-MatrixReal

Owner: Nobody in particular
Requestors: ilmari.ikonen84 [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: as_list possible bug
Date: Tue, 16 Aug 2016 09:11:11 +0200
To: bug-Math-MatrixReal [...]
From: Ilmari Ikonen <ilmari.ikonen84 [...]>
Download (untitled) / with headers
text/plain 565b
I use this module regularly for statistical analysis with small or medium data sets. I encountered the following issue: the function sub as_list { croak "Usage: \$matrix->as_list();" if (@_ != 1); my($self) = @_; my($rows,$cols) = ($self->[1], $self->[2]); my @list; for(my $i = 0; $i < $rows; $i++ ){ for(my $j = 0; $j < $rows; $j++){ push @list, $self->[0][$i][$j]; } } return @list; } probably has a bug, since in the two for statements, $rows appears two times but probably there should be $j < $cols.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to