Commit 3db907cc authored by Guolin Ke's avatar Guolin Ke
Browse files

change empty feature value to NaN.

parent 97995dcf
......@@ -163,7 +163,7 @@ inline static const char* Atoi(const char* p, int* out) {
inline static const char* Atof(const char* p, double* out) {
int frac;
double sign, value, scale;
*out = 0;
*out = NAN;
// Skip leading white space, if any.
while (*p == ' ') {
++p;
......
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