Skip to content

Commit

Permalink
Use global active cell index in utility function
Browse files Browse the repository at this point in the history
  • Loading branch information
fdrmrc committed Apr 13, 2024
1 parent baf9c72 commit a5b22f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/agglomeration_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ AgglomerationHandler<dim, spacedim>::get_master_idx_of_cell(
{
auto idx = master_slave_relationships[cell->global_active_cell_index()];
if (idx == -1)
return cell->active_cell_index();
return cell->global_active_cell_index();
else
return idx;
}
Expand Down

0 comments on commit a5b22f1

Please sign in to comment.