Ignore:
Timestamp:
Apr 24, 2016, 11:45:45 PM (9 years ago)
Author:
Paul Brossier <piem@piem.org>
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:
fbcee4f
Parents:
81984a7
Message:

python/{ext,lib}: prepare for double precision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/py-cvec.c

    r81984a7 rc6388f4  
    9494{
    9595  npy_intp dims[] = { self->o->length, 1 };
    96   return PyArray_SimpleNewFromData (1, dims, NPY_FLOAT, self->o->norm);
     96  return PyArray_SimpleNewFromData (1, dims, AUBIO_NPY_SMPL, self->o->norm);
    9797}
    9898
     
    102102{
    103103  npy_intp dims[] = { self->o->length, 1 };
    104   return PyArray_SimpleNewFromData (1, dims, NPY_FLOAT, self->o->phas);
     104  return PyArray_SimpleNewFromData (1, dims, AUBIO_NPY_SMPL, self->o->phas);
    105105}
    106106
Note: See TracChangeset for help on using the changeset viewer.