diff options
author | quou <quou@disroot.org> | 2024-07-14 09:08:01 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-07-14 09:08:01 +1000 |
commit | 1ae53e77cd45416e42b6edcbe0973556a4021b0c (patch) | |
tree | d4d60cb29066194c51157f9aff8683fa04af9128 | |
parent | 86c4c02743726edd01b9878f3640129815704390 (diff) |
Remove unused variable from vec_ref.
-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; |