Commit 6c2d0588 authored by David Moxey's avatar David Moxey

Fix issue with uninitialised variable sometimes causing random BC entries

parent f06db8fb
......@@ -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