From b63766838e688be94f583413ce05cc6b12115f08 Mon Sep 17 00:00:00 2001 From: tradke Date: Wed, 19 Feb 2003 13:24:14 +0000 Subject: Fixed a bug when downsampling in single precision. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@98 10716dce-81a3-4424-a2c8-48026a0d3035 --- src/GetHyperslab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GetHyperslab.c b/src/GetHyperslab.c index 2ad33d1..e7b8e3c 100644 --- a/src/GetHyperslab.c +++ b/src/GetHyperslab.c @@ -538,7 +538,7 @@ static int GetLocalHyperslab (const cGH *GH, { if (conversion_fn) { - conversion_fn (typed_vdata, typed_hdata, dim0_points, 1,1); + conversion_fn (typed_vdata, typed_hdata, dim0_points, 1, 1); } else { @@ -549,7 +549,7 @@ static int GetLocalHyperslab (const cGH *GH, { if (conversion_fn) { - conversion_fn (typed_vdata, typed_hdata, dim0_points,downsample[0],1); + conversion_fn (typed_vdata, typed_hdata, dim0_points, mapping->downsample[0], 1); typed_vdata += downsample[0] * dim0_points; } else -- cgit v1.2.3