diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-11-30 13:59:55 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-11-30 13:59:55 +0000 |
commit | a7df5bda8d5f00fee28a288fb078d936787fe524 (patch) | |
tree | cd2ec9003034b5e1e801668b893eccdce4cb2051 /src/math | |
parent | 94182972f32db9770cc9bbe158e4a05aa3860c42 (diff) | |
download | zetacomponents-graph-a7df5bda8d5f00fee28a288fb078d936787fe524.zip zetacomponents-graph-a7df5bda8d5f00fee28a288fb078d936787fe524.tar.gz |
- Fixed: Bug #9588 (Wrong polynoms build from data)
Diffstat (limited to 'src/math')
-rw-r--r-- | src/math/matrix.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/math/matrix.php b/src/math/matrix.php index 0bd415b..94d4ccf 100644 --- a/src/math/matrix.php +++ b/src/math/matrix.php @@ -339,6 +339,7 @@ class ezcGraphMatrix { // Build complete equatation $equatation = new ezcGraphMatrix( $this->rows, $columns = ( $this->columns + 1 ) ); + for ( $i = 0; $i < $this->rows; ++$i ) { for ( $j = 0; $j < $this->columns; ++$j ) @@ -357,7 +358,7 @@ class ezcGraphMatrix { if ( $equatation->get( $j, $i ) == 0 ) { - $factor = 0; + continue; } else { |