Changeset 83d2948


Ignore:
Timestamp:
Nov 29, 2013, 12:55:04 PM (11 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:
74bdc4a
Parents:
767990e
Message:

src/fmat.c: use memcpy on each column

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/fmat.c

    r767990e r83d2948  
    135135  }
    136136#if HAVE_MEMCPY_HACKS
    137   memcpy(t->data, s->data, t->height * t->length * sizeof(smpl_t));
     137  uint_t i;
     138  for (i=0; i< s->height; i++) {
     139    memcpy(t->data[i], s->data[i], t->length * sizeof(smpl_t));
     140  }
    138141#else
    139142  uint_t i,j;
Note: See TracChangeset for help on using the changeset viewer.