Changeset 83d2948 for src/fmat.c


Ignore:
Timestamp:
Nov 29, 2013, 12:55:04 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, 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.