Changeset 84941cb for src/mathutils.c


Ignore:
Timestamp:
Apr 11, 2005, 6:36:29 PM (15 years ago)
Author:
Paul Brossier <piem@altern.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
bd2f2ab
Parents:
cf7c76a
Message:

add a cast in autocorr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mathutils.c

    rcf7c76a r84941cb  
    411411                        tmp += data[j-i]*data[j];
    412412                }
    413                 acf[i] = tmp/(length-i);
     413                acf[i] = tmp /(smpl_t)(length-i);
    414414                tmp = 0.0;
    415415        }
Note: See TracChangeset for help on using the changeset viewer.