Skip to content
Snippets Groups Projects
Commit 3478218d authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Minor change

parent f9cbd639
No related branches found
No related tags found
1 merge request!122Implements #183 depth ray correspondences
Pipeline #15010 failed
...@@ -182,7 +182,7 @@ __global__ void correspondence_energy_vector_kernel( ...@@ -182,7 +182,7 @@ __global__ void correspondence_energy_vector_kernel(
} }
} }
const float avgweight = contrib/count; const float avgweight = contrib/(float)count;
const float confidence = bestweight - avgweight; const float confidence = bestweight - avgweight;
if (contrib > 0.0f) { if (contrib > 0.0f) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment