Correct typo on function name

Replace mxCreategkFloatMatrix with mxCreateDoubleMatrix
This commit is contained in:
Mattia Montanari
2022-10-19 19:05:54 +02:00
committed by GitHub
parent f70776dcda
commit 5c72572fab

View File

@@ -730,7 +730,7 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) {
nCoordsB = mxGetN(prhs[1]);
/* Create output */
plhs[0] = mxCreategkFloatMatrix(1, 1, mxREAL);
plhs[0] = mxCreateDoubleMatrix(1, 1, mxREAL);
/* get a pointer to the real data in the output matrix */
distance = mxGetPr(plhs[0]);