From a5166f3b069c895c24a88348ca4cbfe96daa55bf Mon Sep 17 00:00:00 2001 From: Roger Labbe Date: Tue, 27 Sep 2016 07:25:58 -0700 Subject: [PATCH] Issue #54. Fixed comments multivariate_multiply incorrectly called the covariance the mean. --- filterpy/changelog.txt | 7 +++++++ filterpy/stats/stats.py | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/filterpy/changelog.txt b/filterpy/changelog.txt index 3fbdf92..28a85d2 100644 --- a/filterpy/changelog.txt +++ b/filterpy/changelog.txt @@ -1,3 +1,10 @@ +Version 0.1.5 +============= + +* Fix #53: UKF rts_smoother does not use residual functions +* Fixed #54: Comments in multivariate_multiply incorrectly called the + covariance the mean. + Version 0.1.4 ============= diff --git a/filterpy/stats/stats.py b/filterpy/stats/stats.py index 689a455..e06aab4 100644 --- a/filterpy/stats/stats.py +++ b/filterpy/stats/stats.py @@ -188,7 +188,7 @@ def multivariate_multiply(m1, c1, m2, c2): are all valid. c1 : matrix-like - Mean of first Gaussian. Must be convertable to an 2D array via + Covariance of first Gaussian. Must be convertable to an 2D array via numpy.asarray(). m2 : array-like @@ -197,7 +197,7 @@ def multivariate_multiply(m1, c1, m2, c2): are all valid. c2 : matrix-like - Mean of second Gaussian. Must be convertable to an 2D array via + Covariance of second Gaussian. Must be convertable to an 2D array via numpy.asarray(). Returns