[shark] 45/79: Update MultiNomialDistribution.h

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Nov 26 15:40:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository shark.

commit 56b6369aac969ccab5bd623e1399b6642b8cb33e
Author: Christian Igel <igel at diku.dk>
Date:   Fri Oct 30 11:07:48 2015 +0100

    Update MultiNomialDistribution.h
---
 include/shark/Statistics/Distributions/MultiNomialDistribution.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/shark/Statistics/Distributions/MultiNomialDistribution.h b/include/shark/Statistics/Distributions/MultiNomialDistribution.h
index 8e98d9a..bd3b354 100644
--- a/include/shark/Statistics/Distributions/MultiNomialDistribution.h
+++ b/include/shark/Statistics/Distributions/MultiNomialDistribution.h
@@ -126,7 +126,7 @@ public:
 			larger.pop_front();
 
 			m_J[smallIndex] = largeIndex;
-			m_q[large]  -= 1.0 - m_q[smallIndex];
+			m_q[largeIndex]  -= 1.0 - m_q[smallIndex];
 
 			if(m_q[large] < 1.0)
 				smaller.push_back(largeIndex);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/shark.git



More information about the debian-science-commits mailing list