Changeset 396103a
- Timestamp:
- Mar 18, 2013, 4:46:42 PM (12 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:
- 93e3463
- Parents:
- ba507ff
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/fvec.c
rba507ff r396103a 88 88 void fvec_copy(fvec_t *s, fvec_t *t) { 89 89 uint_t j; 90 uint_t length = MIN(s->length, t->length);90 uint_t length = t->length; 91 91 if (s->length != t->length) { 92 AUBIO_WRN("trying to copy %d elements to %d elements \n", 93 s->length, t->length); 92 AUBIO_WRN("trying to copy %d elements to %d elements \n", 93 s->length, t->length); 94 length = MIN(s->length, t->length); 94 95 } 95 96 for (j=0; j< length; j++) { … … 97 98 } 98 99 } 99
Note: See TracChangeset
for help on using the changeset viewer.