Skip to content
Snippets Groups Projects
Commit e167c4f8 authored by laurence's avatar laurence
Browse files

BUG: polyMeshAdder: setSize of a DynamicList should be setCapacity

parent e2688c4e
No related merge requests found
......@@ -69,7 +69,7 @@ void Foam::polyMeshAdder::append
DynamicList<label>& dynLst
)
{
dynLst.setSize(dynLst.size() + lst.size());
dynLst.setCapacity(dynLst.size() + lst.size());
forAll(lst, i)
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment