Showing with 1 addition and 5 deletions.
  1. +1 −1 src/datasources/ascii/asciidatareader.cpp
  2. +0 −4 src/libkst/namedobject.cpp
2 changes: 1 addition & 1 deletion src/datasources/ascii/asciidatareader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ int AsciiDataReader::readColumns(double* v, const Buffer& buffer, qint64 bufstar
if ((!incol) && is_custom) {
++i_col;
if (i_col == col) {
v[i] = NAN;
v[i] = lexc.nanValue(); //NAN;
}
}
incol = false;
Expand Down
4 changes: 0 additions & 4 deletions src/libkst/namedobject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,7 @@ void NamedObject::processShortNameIndexAttributes(QXmlStreamAttributes &attrs) {

R = attrs.value("initialXNum");
if (!R.isEmpty()) {
if (_xnum > R.toString().toInt()) {
qDebug() << "Warning: inonsistent kst file: references to scalars will be broken." << _xnum << R.toString().toInt();
} else {
_xnum = R.toString().toInt();
}
}

R = attrs.value("initialPNum");
Expand Down