This commit is contained in:
kalenhaha 2014-04-11 10:48:45 +08:00
commit efeea99283

View File

@ -62,16 +62,6 @@ namespace xgboost{
}
return fp;
}
/*! \brief replace fopen, */
inline FILE *FopenTry(const char *fname, const char *flag){
FILE *fp = fopen64(fname, flag);
if (fp == NULL){
fprintf(stderr, "can not open file \"%s\"\n", fname);
exit(-1);
}
return fp;
}
};
};