Skip to content
Snippets Groups Projects
Commit 4143ebf9 authored by Boris Martin's avatar Boris Martin
Browse files

changed log

parent 82d13ed9
No related branches found
No related tags found
No related merge requests found
Pipeline #12591 failed
......@@ -386,7 +386,7 @@ namespace gmshfem::field
if (result.second == false) {
auto it = std::find_if(_toSend.begin(), _toSend.end(),
[&entry](dofs::Dof *dof) {
return dof->numType() % GMSHFEM_DOF_FIELD_OFFSET == entry.type && dof->entity() == entry.entity;
return dof->numType() % GMSHFEM_DOF_FIELD_OFFSET == entry.type % GMSHFEM_DOF_FIELD_OFFSET && dof->entity() == entry.entity;
});
bool found = (it != _toSend.end());
throw common::Exception("[" + std::to_string(rank) + "] Duplicate dof in allSharedDofs. Type: " + std::to_string(entry.type) +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment