Skip to content
Snippets Groups Projects
Commit 64ed81b7 authored by mattijs's avatar mattijs
Browse files

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

Fix provided by Gavin Ridley.
parent b4f1092b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment