Changeset 906c0a2
- Timestamp:
- Dec 10, 2013, 11:57:54 PM (11 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, pitchshift, sampler, timestretch, yinfft+
- Children:
- 3194dca1
- Parents:
- 18e22f9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/gen_pyobject.py
r18e22f9 r906c0a2 240 240 241 241 self->%(pname)s = %(defval)s; 242 if ( %(pname)s > 0) {242 if ((sint_t)%(pname)s > 0) { 243 243 self->%(pname)s = %(pname)s; 244 } else if ( %(pname)s < 0) {244 } else if ((sint_t)%(pname)s < 0) { 245 245 PyErr_SetString (PyExc_ValueError, 246 246 "can not use negative value for %(pname)s");
Note: See TracChangeset
for help on using the changeset viewer.