Fix clang-tidy 8 warnings in OpenCL nbnxm kernels
[alexxy/gromacs.git] / src / gromacs / nbnxm / opencl / nbnxm_ocl_kernels.cl
index b60d18a848ba6c4a12ce2e19d851827ce7394cc1..8aa7f451204069fc62bbca8953c548566f067fe1 100644 (file)
@@ -40,12 +40,12 @@ __kernel void zero_e_fshift(__global float* fshift, __global float* e_lj, __glob
     unsigned int tidx = get_global_id(0);
     if (tidx < Nbuf)
     {
-        fshift[tidx] = 0.0f;
+        fshift[tidx] = 0.0F;
     }
     if (tidx == 0)
     {
-        *e_lj = 0.0f;
-        *e_el = 0.0f;
+        *e_lj = 0.0F;
+        *e_el = 0.0F;
     }
 }