diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/diffraction.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/diffraction.cl b/data/diffraction.cl index 7cb98034..b0f7b6b6 100644 --- a/data/diffraction.cl +++ b/data/diffraction.cl @@ -158,7 +158,7 @@ kernel void diffraction(global float2 *diff, global float *tt, float klow, barrier(CLK_LOCAL_MEM_FENCE); /* Leader thread sums the values */ - if ( lx + ly == 0 ) { + if ( lx + ly + lb == 0 ) { int i; float2 sum = (0.0, 0.0); |