Commit 3691f8ab authored by mattijs's avatar mattijs

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

Fix provided by Gavin Ridley.
parent b9de83cf
...@@ -822,6 +822,12 @@ int main(int argc, char *argv[]) ...@@ -822,6 +822,12 @@ int main(int argc, char *argv[])
{ {
string line; string line;
inFile.getLine(line); inFile.getLine(line);
if (line.empty())
{
continue;
}
IStringStream lineStr(line); IStringStream lineStr(line);
word tag(lineStr); word tag(lineStr);
......
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