Image-processing software for cryo-electron microscopy
GNU General Public License v2.0
453
stars
202
forks
source link
a bug in relion-3.1.3/src/acc/cuda/cuda_kernels/helper.cuh:932 & has lower precedence than !=; != will be evaluated first #895
Closed
baichenhan closed 2 years ago
if((x ^ y ^ z)&1 != 0) { img_in[pixel].x = -1; img_in[pixel].y = -1; } (the same as ver4.0)
I don
t know why use " if((x ^ y ^ z)&1 != 0)", maybe it just like "if((x ^ y ^ z)& true)", Is it a mistake or something I can
t understand?