aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035>2003-02-19 13:24:14 +0000
committertradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035>2003-02-19 13:24:14 +0000
commitb63766838e688be94f583413ce05cc6b12115f08 (patch)
tree61debeb153dbe69d008f7ed139613ab45cdf1141
parent47d48dc8c965f8de4d6ca60811fd7155114b7573 (diff)
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
-rw-r--r--src/GetHyperslab.c4
1 files 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