Mercurial > octave-nkf
diff examples/mysparse.c @ 15352:9a8dbd6b6b20
* mysparse.c (mexFunction): Declare pbr and pbr2 as mxLogical*, not bool*.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 11 Sep 2012 13:44:42 -0400 |
parents | 6cb30a539481 |
children | be41c30bcb44 |
line wrap: on
line diff
--- a/examples/mysparse.c Tue Sep 11 13:38:44 2012 -0400 +++ b/examples/mysparse.c Tue Sep 11 13:44:42 2012 -0400 @@ -56,7 +56,7 @@ } else if (mxIsLogical (prhs[0])) { - bool *pbr, *pbr2; + mxLogical *pbr, *pbr2; mexPrintf ("Matrix is %d-by-%d logical", " sparse matrix", m, n); mexPrintf (" with %d elements\n", nz);