csr-dcf
csr-dcf copied to clipboard
Wrong type for dim?
https://github.com/alanlukezic/csr-dcf/blob/469959d14638d1b57014451dc254bda39df78d42/mex_src/hog/gradientMex.cpp#L336
argument of type "const int *" is incompatible with parameter of type "const mwSize={size_t={unsigned __int64}} *" mxSetData(M,*I); mxSetDimensions(M,dims,3); return M;
Should "dim" not rather be a "const unsigned __int64" (which is what mxSetDimensions and mxGetDimensions) expects?
csr-dcf/mex_src/hog/gradientMex.cpp
Line 336 in 469959d
const int *dims; int nDims; argument of type "const int *" is incompatible with parameter of type "const mwSize={size_t={unsigned __int64}} *" mxSetData(M,*I); mxSetDimensions(M,dims,3); return M;
Should "dim" not rather be a "const unsigned __int64" (which is what mxSetDimensions and mxGetDimensions) expects?
modify the type of "*dims": const size_t *dims;