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 89b0e9493e
commit cc476c7363

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);