Open zzz0906 opened 11 months ago
In calculation, it seems you use percentage to do the calculation. Thus, when new input comes, the tmp seems to be the number of input, the percentage shall be tmp/nsamples and then *2. It seems you defaultly set tmp = 1 in the code.
In calculation, it seems you use percentage to do the calculation. Thus, when new input comes, the tmp seems to be the number of input, the percentage shall be tmp/nsamples and then *2. It seems you defaultly set tmp = 1 in the code.