Skip to content

Commit

Permalink
Replaced mxCreateScalarDouble with mxCreateDoubleScalar
Browse files Browse the repository at this point in the history
  • Loading branch information
gnebehay committed Jun 18, 2015
1 parent 9c06ec4 commit aeb3cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCM/vgg_kmiter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
plhs[0] = mxCreateDoubleMatrix(dim, nclus, mxREAL);
CXp = mxGetPr(plhs[0]);

plhs[1] = mxCreateScalarDouble(0.0);
plhs[1] = mxCreateDoubleScalar(0.0);
psse = mxGetPr(plhs[1]);

X = mxGetPr(prhs[0]);
Expand Down

0 comments on commit aeb3cad

Please sign in to comment.