Skip to content

Commit 0b6b8ff

Browse files
committed
Merge pull request #2822 from DumDereDum:hash_tsdf_bug_fix
2 parents 768ad92 + 7e992b8 commit 0b6b8ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/rgbd/src/hash_tsdf.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void HashTSDFVolumeCPU::integrate(InputArray _depth, float depthFactor, const Ma
108108

109109
for (int i = lower_bound[0]; i <= upper_bound[0]; i++)
110110
for (int j = lower_bound[1]; j <= upper_bound[1]; j++)
111-
for (int k = lower_bound[2]; k <= lower_bound[2]; k++)
111+
for (int k = lower_bound[2]; k <= upper_bound[2]; k++)
112112
{
113113
const Vec3i tsdf_idx = Vec3i(i, j, k);
114114
if (!localAccessVolUnits.count(tsdf_idx))

0 commit comments

Comments
 (0)