diff --git a/pyclesperanto_prototype/_tier2/y_position_of_maximum_y_projection_x.cl b/pyclesperanto_prototype/_tier2/y_position_of_maximum_y_projection_x.cl index 66bdf92e..45437e66 100644 --- a/pyclesperanto_prototype/_tier2/y_position_of_maximum_y_projection_x.cl +++ b/pyclesperanto_prototype/_tier2/y_position_of_maximum_y_projection_x.cl @@ -4,6 +4,7 @@ __kernel void y_position_of_maximum_y_projection ( IMAGE_src_TYPE src ) { const sampler_t sampler = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP_TO_EDGE | CLK_FILTER_NEAREST; + const int x = get_global_id(0); const int z = get_global_id(1); float max = 0; @@ -13,7 +14,6 @@ __kernel void y_position_of_maximum_y_projection ( float value = READ_src_IMAGE(src,sampler,POS_src_INSTANCE(x,y,z,0)).x; if (value > max || y == 0) { max = value; - printf('%i', max); max_pos = y; } }