# HG changeset patch # User michael # Date 1215085919 0 # Node ID 205d198d05e524228f0d580e84867c34cacdd9bc # Parent ff5ef7becd94a041dcc342326091d3ebe13309c1 More correct comment. diff -r ff5ef7becd94 -r 205d198d05e5 acelp_math.h --- a/acelp_math.h Thu Jul 03 11:50:44 2008 +0000 +++ b/acelp_math.h Thu Jul 03 11:51:59 2008 +0000 @@ -55,9 +55,9 @@ * \param a input data array * \param b input data array * \param length number of elements - * \param shift right shift by this value will be done before multiplication + * \param shift right shift by this value will be done after multiplication * - * \return sum of multiplications + * \return dot product = sum of elementwise products */ static int dot_product(const int16_t* a, const int16_t* b, int length, int shift) {