You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding the following assert to AgentHandle::Next() breaks some unit tests.
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;
start++;
++box_it;
return ret;
}
};
Adding the following
assert
toAgentHandle::Next()
breaks some unit tests.Affects the following tests:
The text was updated successfully, but these errors were encountered: