From 83ce99dd68bd072111689440aefba2198cc17f29 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Mon, 26 Feb 2018 06:38:55 -0500 Subject: [PATCH] Revisions --- gpu/octree/src/cuda/octree_iterator.hpp | 2 +- gpu/octree/src/utils/priority_octree_iterator.hpp | 2 +- simulation/src/range_likelihood.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gpu/octree/src/cuda/octree_iterator.hpp b/gpu/octree/src/cuda/octree_iterator.hpp index 87fbfc45604..86753c262a5 100644 --- a/gpu/octree/src/cuda/octree_iterator.hpp +++ b/gpu/octree/src/cuda/octree_iterator.hpp @@ -118,7 +118,7 @@ namespace pcl { if (length > 1) { - lenght--; + length--; node_idx++; break; } diff --git a/gpu/octree/src/utils/priority_octree_iterator.hpp b/gpu/octree/src/utils/priority_octree_iterator.hpp index c3486add867..bcd616c6d8c 100644 --- a/gpu/octree/src/utils/priority_octree_iterator.hpp +++ b/gpu/octree/src/utils/priority_octree_iterator.hpp @@ -74,7 +74,7 @@ namespace pcl { if (length > 1) { - lenght--; + length--; node_idx++; break; } diff --git a/simulation/src/range_likelihood.cpp b/simulation/src/range_likelihood.cpp index e0e7e9b2687..dca919f0e5c 100644 --- a/simulation/src/range_likelihood.cpp +++ b/simulation/src/range_likelihood.cpp @@ -539,7 +539,7 @@ costFunction4(float ref_val,float depth_val) float proportion = 0.999f; float lhood = proportion + (1-proportion)*(top/bottom); - // safety fix that seems to be required due to opengl asyschronizate + // safety fix that seems to be required due to opengl asynchronization // ask hordur about this if (bottom == 0) {