BUG: gmsh: skip empty lines. See #1155.

Fix provided by Gavin Ridley.
This commit is contained in:
mattijs
2019-04-11 11:07:28 +01:00
committed by Andrew Heather
parent f76733711b
commit 7cc9961ff2

View File

@ -825,6 +825,12 @@ int main(int argc, char *argv[])
{
string line;
inFile.getLine(line);
if (line.empty())
{
continue;
}
IStringStream lineStr(line);
word tag(lineStr);