Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

typo

  • Loading branch information...
commit 675c6cdb31e52dd9b2350e53043622da64bad5ee 1 parent 2fe8cca
@guyrt guyrt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mex/mexCopy.c
View
2  mex/mexCopy.c
@@ -21,7 +21,7 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]){
plhs[i] = mxCreateDoubleMatrix(m,n,mxREAL); /* create an m by n real matrix. */
dataIn = mxGetPr(prhs[i]); /* pointer to input. */
- dataOut = mxGetPr(plhs[i]); /* pointer to ouput (for convienence) */
+ dataOut = mxGetPr(plhs[i]); /* pointer to ouput (for convenience) */
for (j = 0; j < m*n; j++)
dataOut[j] = 2 * dataIn[j]; /* stupid... need better example. */
Please sign in to comment.
Something went wrong with that request. Please try again.