Skip to content

Commit

Permalink
fix: one more
Browse files Browse the repository at this point in the history
  • Loading branch information
ianna committed Sep 12, 2024
1 parent 093f7b3 commit 56e812c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ awkward_reduce_prod_complex_b(

if (thread_id < lenparents) {
for (int64_t stride = 1; stride < blockDim.x; stride *= 2) {
T real = (T)1.0f;
T imag = (T)0.0f;
T real = (T)1;
T imag = (T)0;
if (idx >= stride && thread_id < lenparents && parents[thread_id] == parents[thread_id - stride]) {
real = temp[(idx - stride) * 2];
imag = temp[(idx - stride) * 2 + 1];
Expand Down

0 comments on commit 56e812c

Please sign in to comment.