Skip to content
Snippets Groups Projects
Commit 0e70addb authored by wenqing's avatar wenqing
Browse files

[BC::getEssentialBCValuesLocal] Cleaned two vector reserve

parent 6d663a4a
No related branches found
No related tags found
No related merge requests found
......@@ -70,8 +70,8 @@ void getEssentialBCValuesLocal(
bc_values.values.clear();
// convert mesh node ids to global index for the given component
bc_values.ids.reserve(bc_values.ids.size() + nodes_in_bc_mesh.size());
bc_values.values.reserve(bc_values.values.size() + nodes_in_bc_mesh.size());
bc_values.ids.reserve(nodes_in_bc_mesh.size());
bc_values.values.reserve(nodes_in_bc_mesh.size());
for (auto const* const node : nodes_in_bc_mesh)
{
auto const id = node->getID();
......
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