We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f7a960 commit 3291dfdCopy full SHA for 3291dfd
1 file changed
src/mesh.cpp
@@ -3607,8 +3607,7 @@ int AdaptiveLibMesh::get_bin_from_element(const libMesh::Elem* elem) const
3607
auto tally_elem = amalgamation_ ? clustering_element_mapping_.at(elem) : elem;
3608
int bin = elem_to_bin_map_[tally_elem->id()];
3609
3610
- if (bin >= n_bins() || bin < 0)
3611
- {
+ if (bin >= n_bins() || bin < 0) {
3612
fatal_error(fmt::format("Invalid bin: {}", bin));
3613
}
3614
return bin;
0 commit comments