Skip to content

Commit

Permalink
Remove assert for now (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasDuswald committed Jul 17, 2023
1 parent bd50f66 commit 4b920af
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/environment/uniform_grid_environment.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ struct AgentHandleIterator : public Iterator<AgentHandle> {
AgentHandle Next() override {
while (box_it.IsAtEnd()) {
box_index++;
assert(box_index < sorted_boxes.size() &&
"box_index out of bounds. This should not happen.");
box_it = sorted_boxes[box_index]->begin(grid_);
}
auto ret = *box_it;
Expand Down

0 comments on commit 4b920af

Please sign in to comment.