Merge branch 'master' of https://github.com/tqchen/xgboost
This commit is contained in:
commit
efeea99283
@ -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;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user