Mercurial > hg > audiodb
changeset 182:a6853791a275 no-big-mmap
Delete a stray remaining memcpy().
author | mas01cr |
---|---|
date | Thu, 15 Nov 2007 17:09:17 +0000 |
parents | c22d53219112 |
children | 3002bee2f60d |
files | audioDB.cpp |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/audioDB.cpp Thu Nov 15 17:04:55 2007 +0000 +++ b/audioDB.cpp Thu Nov 15 17:09:17 2007 +0000 @@ -782,8 +782,6 @@ insert_data_vectors(insertoffset, indata + sizeof(int), statbuf.st_size - sizeof(int)); - memcpy (((char *) dataBuf) + insertoffset, indata+sizeof(int), statbuf.st_size-sizeof(int)); - // Norm the vectors on input if the database is already L2 normed if(dbH->flags & O2_FLAG_L2NORM) unitNormAndInsertL2((double*)(((char *) dataBuf) + insertoffset), dbH->dim, numVectors, 1); // append