Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix SHR op to be a true logical shift.

  • Loading branch information...
commit fd75b550df5bb008f559b28d2f115f22e7b8ea32 1 parent 23c85b8
Steve Kerrison authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  module_matrix/src/matrix_worker.c
2  module_matrix/src/matrix_worker.c
View
@@ -210,7 +210,7 @@ void matrix_sca_worker_shr(int ptA, int S, int ptC, int ptOps, short offset, sho
*ops = (int *)ptOps, base;
for (base = offset; base < offset + len; base += 1)
{
- C[base] = A[base] >> S;
+ C[base] = (unsigned)A[base] >> S;
}
*ops = len;
return;
Please sign in to comment.
Something went wrong with that request. Please try again.