Skip to content
Snippets Groups Projects
Commit f824691c authored by wenqing's avatar wenqing Committed by Dmitri Naumov
Browse files

[LIE] Fixed a bug in the local assembler builder

parent 570aec07
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,8 @@ public:
getNodeIndex(mesh_item, k));
auto global_index =
_dof_table.getGlobalIndex(l, var_id, var_comp_id);
if (global_index != NumLib::MeshComponentMap::nop)
if (global_index != NumLib::MeshComponentMap::nop &&
dof_id < n_local_dof)
{
dofIndex_to_localIndex[dof_id++] = local_id;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment