Commit 0499a0ee authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

input: added support for NaN.

parent 55a915e9
......@@ -34,7 +34,7 @@ void skip_nondigit_lines(FILE *gfp)
c = fgetc(gfp);
while ( (isspace(c) || c == ',') && c != EOF );
if ( c == EOF || isdigit (c) || c == '.' || c == '+' || c == '-' ) break;
if ( c == EOF || isdigit(c) || c == '.' || c == '+' || c == '-' || c == 'N' ) break; // N: for NaN
else
while ( c != '\n' && c != EOF )
c = fgetc(gfp);
......
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