[ismrmrd] 96/281: semantics
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Jan 14 20:01:01 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 69b0f7b123f32aae4693a65ea01aaf336d1bdc9c
Author: Joseph Naegele <joseph.naegele at gmail.com>
Date: Fri Mar 8 11:26:30 2013 -0500
semantics
---
ismrmrd.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ismrmrd.h b/ismrmrd.h
index 95bee5a..cac5cb1 100644
--- a/ismrmrd.h
+++ b/ismrmrd.h
@@ -533,14 +533,14 @@ public:
}
}
- const float getReadoutDirection(unsigned int index) const {
+ const float getReadDirection(unsigned int index) const {
if (index < ISMRMRD_DIRECTION_LENGTH) {
return head_.read_dir[index];
}
return 0;
}
- void setReadoutDirection(unsigned int index, float value) {
+ void setReadDirection(unsigned int index, float value) {
if (index < ISMRMRD_DIRECTION_LENGTH) {
head_.read_dir[index] = value;
}
@@ -799,7 +799,7 @@ public:
if (channel_id < 64*ISMRMRD_CHANNEL_MASKS) {
unsigned int mask_idx = channel_id>>6;
unsigned int mask_bit = channel_id-mask_idx*64;
- return (head_.channel_mask[mask_idx] & (1 << mask_bit) > 0);
+ return ((head_.channel_mask[mask_idx] & (1 << mask_bit)) > 0);
}
return false;
}
@@ -930,14 +930,14 @@ public:
}
*/
- const float getReadoutDirection(unsigned int index) const {
+ const float getReadDirection(unsigned int index) const {
if (index < ISMRMRD_DIRECTION_LENGTH) {
return head_.read_dir[index];
}
return 0;
}
- void setReadoutDirection(unsigned int index, float value) {
+ void setReadDirection(unsigned int index, float value) {
if (index < ISMRMRD_DIRECTION_LENGTH) {
head_.read_dir[index] = value;
}
--
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