Commit 067613a8 authored by Michael Turner's avatar Michael Turner

Merge branch 'fix/nek5000-uninitialised' into 'master'

Fix issue with uninitialised variable sometimes causing random BC entries

See merge request !801
parents 23a810bf 7c15ea47
......@@ -29,6 +29,9 @@ v5.0.0
v4.4.2
------
**NekMesh**:
- Fix uninitialised memory bug in Nek5000 input module (!801)
**Library**
- Fix ability to set default implementation in Collections and added an option
to set eNoCollections in FieldConvert as default (!789)
......
......@@ -465,6 +465,13 @@ void InputNek5000::Process()
s.str(line.substr(0, 4));
s >> bcType;
// Some lines have no boundary condition entries
if (s.fail())
{
lineCnt++;
continue;
}
if (nElements < 1000)
{
// elmt in chars 4-6, side in next 3
......
Markdown is supported
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