Potential division by zero
Created by: SwiftPengu
There is no check whether noDrops is zero (except for drops + noDrops > SAMPLE_SIZE). Sounds to me like 7 consecutive switches to the same or a larger representation will cause a /0 error.
Created by: SwiftPengu
There is no check whether noDrops is zero (except for drops + noDrops > SAMPLE_SIZE). Sounds to me like 7 consecutive switches to the same or a larger representation will cause a /0 error.