Correct typo on function name

Replace mxCreategkFloatMatrix with mxCreateDoubleMatrix
fixes-turtlebasket
Mattia Montanari 2022-10-19 19:05:54 +02:00 committed by GitHub
parent f70776dcda
commit 5c72572fab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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