Commit 7385e31a authored by Pankaj Daga's avatar Pankaj Daga

Removed the unintended thresholding introduced by the last checkin.

parent b26bb257
......@@ -267,7 +267,7 @@ __global__ void process_result_blocks_gpu(float *targetPosition_d,
localCC = fabsf(localCC/
(voxelNumber*targetVar*resultVar));
if(localCC - bestCC > 0.0001f){
if(localCC > bestCC){
bestCC = localCC;
bestDisplacement.x=l[threadIdx.x];
bestDisplacement.y=m[threadIdx.x];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment