Mercurial > hg > minc-tools
changeset 1711:33d1e18a5cca
Set the valid range appropriately
author | bert <bert> |
---|---|
date | Tue, 23 Mar 2004 21:39:03 +0000 (2004-03-23) |
parents | a0d59a10ca50 |
children | 3660558fc789 |
files | libsrc2/test/multires-test.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libsrc2/test/multires-test.c +++ b/libsrc2/test/multires-test.c @@ -36,7 +36,7 @@ if (r < 0) { TESTRPT("failed", r); } - + r = micreate_dimension("xspace",MI_DIMCLASS_SPATIAL,MI_DIMATTR_REGULARLY_SAMPLED, CX,&dim[0]); if (r < 0) { TESTRPT("failed", r); @@ -56,6 +56,8 @@ TESTRPT("failed", r); } + r = miset_volume_valid_range(vol, 100000.0, 0.0); + r = micreate_volume_image(vol); if (r < 0) { TESTRPT("failed", r);