From 5c72572fabb7053903e1c8e551fcbb5a9f41e08a Mon Sep 17 00:00:00 2001 From: Mattia Montanari Date: Wed, 19 Oct 2022 19:05:54 +0200 Subject: [PATCH] Correct typo on function name Replace mxCreategkFloatMatrix with mxCreateDoubleMatrix --- openGJK.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openGJK.c b/openGJK.c index c430d9e..d80cd99 100644 --- a/openGJK.c +++ b/openGJK.c @@ -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]);