Skip to content

Commit 616690d

Browse files
tonynajjarAngsa Deployment Team
andauthored
Fix sign (#321)
Signed-off-by: Angsa Deployment Team <[email protected]> Co-authored-by: Angsa Deployment Team <[email protected]>
1 parent 7673fac commit 616690d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spatio_temporal_voxel_layer/src/spatio_temporal_voxel_grid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ void SpatioTemporalVoxelGrid::ResetGridArea(
410410
const bool in_y_range = pose_world.y() > start.y && pose_world.y() < end.y;
411411
const bool in_range = in_x_range && in_y_range;
412412

413-
if(in_range == invert_area)
413+
if(in_range != invert_area)
414414
{
415415
ClearGridPoint(pt_index);
416416
}

0 commit comments

Comments
 (0)