Adrián Alcolea Moreno
Adrián Alcolea Moreno
The problem arises when there is an odd "total non-zero number": >>> (1020 - 1) / 2 + 1 # ind_stream size 510 >>> np.arange(0, 1020, 2).shape (510,) >>> np.arange(1,...
Yes, yours is the correct solution. And it is also needed on line 95 "spm[np.arange(1, num_nz, 2)] = spm_stream / (2**4)". Thankyou
Hello again. In the first solution I just needed it to run, but I did not take care about actual values. Now I really need the values, I realized it...