natsuhiko / rasqual

Robust Allele Specific Quantification and quality controL
37 stars 20 forks source link

Line 90 Code Error in zpaste.c - 'k' Should Be 'i'? #62

Open luluZuo opened 3 months ago

luluZuo commented 3 months ago

I believe there is an issue on line 90 of zpaste.c. The code is as follows:

for(i=0; i<K; i++){
    ret0[k] = is0[k] = 0;
}

I suspect that the variable k should be i. After executing this step, I got an empty file, but after changing it to i, it worked correctly. Could you please check if this is a bug?