diff options
-rw-r--r-- | maths.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -238,9 +238,9 @@ int* vec_cpy(int* d, const int* s, int c) { } int* vec_ref(int* d, const int* i, const int* n, int c) { - int r, j; + int j; int dp = 2 * vec_dot(n, i, c); - for (j = r = 0; j < c; j++) { + for (j = 0; j < c; j++) { d[j] = i[j] - ((dp * n[j]) >> fbits); } return d; |