Mercurial > forge
diff extra/NaN/src/sumskipnan_mex.cpp @ 12692:13815b367946 octave-forge
use size_t instead of mwSize/mwIndex whenever possible
author | schloegl |
---|---|
date | Sat, 12 Sep 2015 14:59:20 +0000 |
parents | 6d6285a2a633 |
children | 29b7963bf748 |
line wrap: on
line diff
--- a/extra/NaN/src/sumskipnan_mex.cpp Sat Sep 12 14:16:39 2015 +0000 +++ b/extra/NaN/src/sumskipnan_mex.cpp Sat Sep 12 14:59:20 2015 +0000 @@ -90,12 +90,12 @@ double x; double* W = NULL; // weight vector - mwSize DIM = 0; - mwSize D1, D2, D3; // NN; // - mwSize ND, ND2; // number of dimensions: input, output - mwSize ix0, ix1, ix2; // index to input and output - mwSize j, l; // running indices - mwSize *SZ2; // size of output + size_t DIM = 0; + size_t D1, D2, D3; // NN; // + size_t ND, ND2; // number of dimensions: input, output + size_t ix0, ix1, ix2; // index to input and output + size_t j, l; // running indices + mwIndex *SZ2; // size of output char flag_isNaN = 0; // check for proper number of input and output arguments