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
parent b4f1092b3a
commit 64ed81b78f

View File

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