Skip to content

Commit

Permalink
Honour blank lines when reading tag for SampledData1D.
Browse files Browse the repository at this point in the history
  • Loading branch information
trisyoungs committed Apr 8, 2024
1 parent 64a3eee commit 69b5861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math/sampledData1D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ bool SampledData1D::deserialise(LineParser &parser)
clear();

// Read tag
if (parser.readNextLine(LineParser::Defaults) != LineParser::Success)
if (parser.readNextLine(LineParser::KeepBlanks) != LineParser::Success)
return false;
tag_ = parser.line();

Expand Down

0 comments on commit 69b5861

Please sign in to comment.