Skip to content

Commit

Permalink
Adjust end iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
fdrmrc committed Aug 28, 2024
1 parent a648307 commit ee8dec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/agglomeration_accessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ inline AgglomerationAccessor<dim, spacedim>::AgglomerationAccessor(
if (&(*handler->master_cells_container.end()) == std::addressof(cell))
{
present_index = handler->master_cells_container.size();
master_cell = handler->master_cells_container[present_index - 1];
master_cell = *handler->master_cells_container.end();
present_id = CellId(); // invalid id (TODO)
present_subdomain_id = numbers::invalid_subdomain_id;
}
Expand Down

0 comments on commit ee8dec4

Please sign in to comment.