X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/snake_gpu.git/blobdiff_plain/935bdd1c8b99ce5d70b6e4a53ca29f06353e8baa..fd872eca52592617f52015c1d4d086d0e24b12e1:/src/lib_kernels_contribs.cu?ds=sidebyside diff --git a/src/lib_kernels_contribs.cu b/src/lib_kernels_contribs.cu index 2440f0c..8acfc57 100644 --- a/src/lib_kernels_contribs.cu +++ b/src/lib_kernels_contribs.cu @@ -954,7 +954,7 @@ __global__ void recalcul_contribs_segments_snake(snake_node_gpu * d_snake, int n scontribs[ CFI(tib)].c1 += scontribs[ CFI(tib + 8) ].c1; scontribs[ CFI(tib)].cx += scontribs[ CFI(tib + 8) ].cx; scontribs[ CFI(tib)].cx2 +=scontribs[ CFI(tib + 8) ].cx2;} - if (tib<4){ + if (tib<4){ scontribs[ CFI(tib)].c1 += scontribs[ CFI(tib + 4) ].c1; scontribs[ CFI(tib)].cx += scontribs[ CFI(tib + 4) ].cx; scontribs[ CFI(tib)].cx2 +=scontribs[ CFI(tib + 4) ].cx2;