Changeset e141b23 for src/fmat.c


Ignore:
Timestamp:
Nov 28, 2016, 5:31:45 PM (3 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, sampler, yinfft+
Children:
9ad0dcc
Parents:
7e78ad8
Message:

src/{fmat,fvec}.c: avoid integer division

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/fmat.c

    r7e78ad8 re141b23  
    111111  uint_t i,j;
    112112  for (i=0; i< s->height; i++) {
    113     for (j=0; j< FLOOR(s->length/2); j++) {
     113    for (j=0; j< FLOOR((smpl_t)s->length/2); j++) {
    114114      ELEM_SWAP(s->data[i][j], s->data[i][s->length-1-j]);
    115115    }
Note: See TracChangeset for help on using the changeset viewer.