MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / mxCHECK

Function mxCHECK

rtpose_wrapper/matlab/+caffe/private/caffe_.cpp:25–29  ·  view source on GitHub ↗

Do CHECK and throw a Mex error if check fails

Source from the content-addressed store, hash-verified

23
24// Do CHECK and throw a Mex error if check fails
25inline void mxCHECK(bool expr, const char* msg) {
26 if (!expr) {
27 mexErrMsgTxt(msg);
28 }
29}
30inline void mxERROR(const char* msg) { mexErrMsgTxt(msg); }
31
32// Check if a file exists and can be opened

Callers 15

mx_mat_to_blobFunction · 0.85
handle_to_ptrFunction · 0.85
get_solverFunction · 0.85
solver_get_attrFunction · 0.85
solver_get_iterFunction · 0.85
solver_restoreFunction · 0.85
solver_solveFunction · 0.85
solver_stepFunction · 0.85
get_netFunction · 0.85
net_get_attrFunction · 0.85
net_forwardFunction · 0.85
net_backwardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected