Skip to content

Commit

Permalink
another assert warning fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Armin Hornung committed Feb 9, 2011
1 parent cb20936 commit b8e2e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/octomap/OccupancyOcTreeBase.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ namespace octomap {
current_key[dim] += step[dim];
tMax[dim] += tDelta[dim];

assert ((current_key[dim] >= 0) && (current_key[dim] < 2*this->tree_max_val));
assert (current_key[dim] < 2*this->tree_max_val);

// generate world coords from key
point3d current_endpoint;
Expand Down

0 comments on commit b8e2e50

Please sign in to comment.