27 #ifndef ROOT_Math_GSLError 28 #define ROOT_Math_GSLError 31 #if defined(G__DICTIONARY) 33 #include "gsl/gsl_errno.h" 50 gsl_set_error_handler(&GSLError::Handler);
54 static void Handler(
const char * reason,
const char *
file,
int line,
int gsl_errno) {
56 Error(
"GSLError",
"Error %d in %s at %d : %s",gsl_errno,file,line,reason);
65 ROOT::Math::GSLError gGSLError;
Namespace for new ROOT classes and functions.
Namespace for new Math classes and functions.
void Error(ErrorHandler_t func, int code, const char *va_(fmt),...)
Write error message and call a handler, if required.