[python-dtcwt] 451/497: Gah! correcting the stupid error from the last commit.

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 dbe68b8a2554bdb6c646b9e2d488501ac29c4d69
Author: Henry Gomersall <heng at kedevelopments.co.uk>
Date:   Tue Jun 24 12:35:28 2014 +0100

    Gah! correcting the stupid error from the last commit.
---
 dtcwt/registration.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dtcwt/registration.py b/dtcwt/registration.py
index b55c530..bd4bb27 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.reshape(Qt.shape[:-1])**2
+            Qt *= C_d.reshape(Qt.shape[:-1] + (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