Mercurial > hg > minc-tools
changeset 2486:2c3e2e826e66
* fix from Claude to stop valgrind complaining.
author | rotor <rotor> |
---|---|
date | Fri, 08 May 2009 01:58:07 +0000 |
parents | 35329e9fe89f |
children | 5ae8b796d15e |
files | ChangeLog volume_io/Volumes/volume_cache.c |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ + +2009-05-08 Andrew L Janke <a.janke@gmail.com> + + * volume_io/Volumes/volume_cache.c: added loop range fix to keep + valgrind happy. (via Claude). -- Release of minc 2.0.18 -- @@ -7,7 +12,7 @@ * Smarter utilization of buffer in input_mnc.c and output_mnc.c 2009-04-29 Andrew L Janke <a.janke@gmail.com> - * progs/mincinfo/mincinfo.c: fixed a stack smash + * progs/mincinfo/mincinfo.c: fixed a stack smash 2009-04-21 Claude Lepage <claude@bic.mni.mcgill.ca> * Fixed bug with chunking for internal file compression using hdf5
--- a/volume_io/Volumes/volume_cache.c +++ b/volume_io/Volumes/volume_cache.c @@ -239,7 +239,7 @@ /*--- set the last two dimensions to be entire size of dimension */ - for_less( dim, MAX( 0, n_dims - 2), n_dims ) + for_less( dim, MAX( 0, n_dims - 2), MAX_DIMENSIONS ) block_sizes[dim] = -1; } else if( !default_block_sizes_set &&