Changeset 4deb255 for python/ext/py-cvec.c
- Timestamp:
- Sep 30, 2017, 10:23:54 PM (7 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
- Children:
- 2f02d51
- Parents:
- 5b679ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/py-cvec.c
r5b679ba r4deb255 143 143 npy_intp length; 144 144 if (!PyAubio_IsValidVector(input)) { 145 return 1;145 return -1; 146 146 } 147 147 length = PyArray_SIZE ((PyArrayObject *)input); … … 150 150 "input array has length %" NPY_INTP_FMT ", but cvec has length %d", length, 151 151 vec->length); 152 return 1;152 return -1; 153 153 } 154 154 … … 164 164 npy_intp length; 165 165 if (!PyAubio_IsValidVector(input)) { 166 return 1;166 return -1; 167 167 } 168 168 length = PyArray_SIZE ((PyArrayObject *)input); … … 171 171 "input array has length %" NPY_INTP_FMT ", but cvec has length %d", length, 172 172 vec->length); 173 return 1;173 return -1; 174 174 } 175 175
Note: See TracChangeset
for help on using the changeset viewer.