[ismrmrd] 87/281: Missing read speed test from Michael

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jan 14 20:01:00 UTC 2015


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

ghisvail-guest pushed a commit to annotated tag ismrmrd0.5
in repository ismrmrd.

commit 779bbaebfa514c265d3d42a502aff2114ebd5955
Author: kvahed <kaveh at vahedipour.de>
Date:   Tue Jan 29 17:19:02 2013 +0100

    Missing read speed test from Michael
---
 ismrmrd.h | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/ismrmrd.h b/ismrmrd.h
index bc69d42..49a1e18 100644
--- a/ismrmrd.h
+++ b/ismrmrd.h
@@ -308,15 +308,18 @@ public:
     
 	Image (const std::vector<unsigned int>& dimensions, T* d) :
         NDArrayContainer<T> (dimensions, d) {
-        head_.matrix_size[0] = dimensions_[0];
-        head_.matrix_size[1] = dimensions_[1];
-        head_.matrix_size[2] = dimensions_[2];
-        head_.channels = dimensions_[3];
+        head_.matrix_size[0] = dimensions[0];
+        head_.matrix_size[1] = dimensions[1];
+        head_.matrix_size[2] = dimensions[2];
+        head_.channels       = dimensions[3];
 	}
     
 	Image (const std::vector<unsigned int>& dimensions, T t = T(0)) :
         NDArrayContainer<T> (dimensions, t) {
-        //allocate();
+        head_.matrix_size[0] = dimensions[0];
+        head_.matrix_size[1] = dimensions[1];
+        head_.matrix_size[2] = dimensions[2];
+        head_.channels       = dimensions[3];
 	}
     
     Image(const Image& a) {   // copy constructor

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



More information about the debian-science-commits mailing list