cvs: pear /Math_Stats Stats.php package.xml

From: Date: Fri, 24 May 2002 00:18:26 +0000
Subject: cvs: pear /Math_Stats Stats.php package.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-4066@lists.php.net to get a copy of this message
jmcastagnetto Thu May 23 20:18:26 2002 EDT Modified files: /pear/Math_Stats Stats.php package.xml Log: More bug fixes Index: pear/Math_Stats/Stats.php diff -u pear/Math_Stats/Stats.php:1.6 pear/Math_Stats/Stats.php:1.7 --- pear/Math_Stats/Stats.php:1.6 Thu May 23 20:13:08 2002 +++ pear/Math_Stats/Stats.php Thu May 23 20:18:25 2002 @@ -16,7 +16,7 @@ // | Authors: Jesus M. Castagnetto <jmcastagnetto@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Stats.php,v 1.6 2002/05/24 00:13:08 jmcastagnetto Exp $ +// $Id: Stats.php,v 1.7 2002/05/24 00:18:25 jmcastagnetto Exp $ // include_once "PEAR.php"; @@ -732,7 +732,7 @@ foreach ($this->_data as $val=>$freq) $sdev += $freq * abs($val - $mean); } else { - foreach ($this->_data as $val=>$freq) + foreach ($this->_data as $val) $sdev += abs($val - $mean); } return $sdev; Index: pear/Math_Stats/package.xml diff -u pear/Math_Stats/package.xml:1.3 pear/Math_Stats/package.xml:1.4 --- pear/Math_Stats/package.xml:1.3 Thu May 23 20:13:08 2002 +++ pear/Math_Stats/package.xml Thu May 23 20:18:25 2002 @@ -26,11 +26,10 @@ <release> <license>PHP</license> - <version>0.8.1</version> + <version>0.8.2</version> <date>2002-05-23</date> <notes> - Bug fix in __sumdiff() and in __sumabsdev(), which made - the variance, standard deviation, etc. be calculated incorrectly. + Another bug fix release </notes> <state>beta</state> <filelist> @@ -51,12 +50,21 @@ <notes> Initial release </notes> + </release> + <release> <version>0.8.1</version> - <date>2002-05-23</date> - <notes> + <date>2002-05-23</date> + <notes> Bug fix in __sumdiff() and in __sumabsdev(), which made the variance, standard deviation, etc. be calculated incorrectly. - </notes> + </notes> + </release> + <release> + <version>0.8.2</version> + <date>2002-05-23</date> + <notes> + Another bug fix release + </notes> </release> </changelog>

« previous php.pear.cvs (#4066) next »