Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <flogging.h>
- #if defined MEXING
- #define ERRORSTOP(cond, msg) if(cond) then; call mexErrMsgIdAndTxt('MATLAB:qlknn:critical', msg); endif
- #elif defined __PGI
- #define ERRORSTOP(cond, msg) if(cond) then; log_fatal(*) msg; STOP; endif;
- #elif defined __INTEL_COMPILER
- #define ERRORSTOP(cond, msg) if(cond) then; log_fatal(*) msg; STOP; endif;
- #else
- #define ERRORSTOP(cond, msg) if(cond) then; log_fatal(*) msg; ERROR STOP; endif;
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement