[python-dtcwt] 450/497: The previous commit did not add the confidence parameter in correctly. Updated to do it properly.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Jul 21 18:06:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository python-dtcwt.
commit b760f09d472691cfe3333473690c4cd6b04f23d4
Author: Henry Gomersall <heng at kedevelopments.co.uk>
Date: Tue Jun 24 12:31:46 2014 +0100
The previous commit did not add the confidence parameter in correctly. Updated to do it properly.
---
dtcwt/registration.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dtcwt/registration.py b/dtcwt/registration.py
index bdafa02..b55c530 100644
--- a/dtcwt/registration.py
+++ b/dtcwt/registration.py
@@ -199,7 +199,7 @@ def qtildematrices(t_ref, t_target, levels):
elem_idx += 1
# Include the confidence parameter
- Qt *= C_d**2
+ Qt *= C_d.reshape(Qt.shape[:-1])**2
# Update Qt mats
if Qt_mat_sum is None:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git
More information about the debian-science-commits
mailing list