From 67ff44d97c0adcfc9fce18deb09852b14796749e Mon Sep 17 00:00:00 2001 From: Maarten Balliauw Date: Mon, 30 Aug 2010 11:58:47 +0000 Subject: [PATCH] Work item 14143 - NA() doesn't propagate in matrix calc - quick fix in JAMA/Matrix.php git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60085 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/Shared/JAMA/Matrix.php | 2 +- changelog.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/PHPExcel/Shared/JAMA/Matrix.php b/Classes/PHPExcel/Shared/JAMA/Matrix.php index c168567a..ca2fa0a2 100644 --- a/Classes/PHPExcel/Shared/JAMA/Matrix.php +++ b/Classes/PHPExcel/Shared/JAMA/Matrix.php @@ -1012,7 +1012,7 @@ class Matrix { $M->set($i, $j, $this->A[$i][$j] / $value); } } else { - $this->A[$i][$j] = PHPExcel_Calculation_Functions::NaN(); + $M->set($i, $j, PHPExcel_Calculation_Functions::NaN()); } } } diff --git a/changelog.txt b/changelog.txt index 9aaa1950..941e2bbd 100644 --- a/changelog.txt +++ b/changelog.txt @@ -25,7 +25,7 @@ Fixed in SVN: - Feature: (MBaker) Support for Extended Workbook Properties in Excel2007, Excel5 and OOCalc Readers; support for User-defined Workbook Properties in Excel2007 and OOCalc Readers - +- Bugfix: (MB) Work item 14143 - NA() doesn't propagate in matrix calc - quick fix in JAMA/Matrix.php 2010-08-26 (v1.7.4): - Bugfix: (Progi1984) Workitem 7895 - Excel5 : Formula : Power