aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-02 19:10:06 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:16 +0100
commita4e80d2ae288579b6f0d6967fee90aa57c0c25c3 (patch)
treee2d0c5608aa10fa04283325d6d9214f55dd3762c /data
parented81cc8d9811aeb93c286266a464fea25554a083 (diff)
Tidy up, fix definition of get_q() in CL kernel
Diffstat (limited to 'data')
-rw-r--r--data/diffraction.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/diffraction.cl b/data/diffraction.cl
index dbbad265..5efd65d1 100644
--- a/data/diffraction.cl
+++ b/data/diffraction.cl
@@ -24,7 +24,7 @@ const sampler_t sampler_c = CLK_NORMALIZED_COORDS_TRUE | CLK_ADDRESS_REPEAT
| CLK_FILTER_LINEAR;
-float4 get_q(int fs, int ss, float res, float clen, float k,
+float4 get_q(float fs, float ss, float res, float clen, float k,
float *ttp, float corner_x, float corner_y,
float fsx, float fsy, float ssx, float ssy)
{