Skip to content

Commit 72216d2

Browse files
author
Chip Kerchner
committed
Fix bug with inc_y adding results twice.
1 parent 2f142ee commit 72216d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/power/sbgemv_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ FORCEINLINE void copy_y(BLASLONG n, FLOAT *src, FLOAT *dest, BLASLONG inc_src, F
300300
FORCEINLINE void add_y(BLASLONG n, FLOAT *src, FLOAT *dest, BLASLONG inc_dest)
301301
{
302302
for (BLASLONG i = 0; i < n; i++) {
303-
*dest += *src++;
303+
*dest = *src++;
304304
dest += inc_dest;
305305
}
306306
}

0 commit comments

Comments
 (0)