| 45 | } |
| 46 | |
| 47 | int_t PartialSumSampling::Next() const noexcept { |
| 48 | return Next(0, (int)partial_sum_table_.size()); |
| 49 | } |
| 50 | |
| 51 | int_t PartialSumSampling::Next(int begin, int end) const noexcept { |
| 52 | float_t sum_begin = begin > 0 ? partial_sum_table_[begin - 1] : 0.; |
nothing calls this directly
no test coverage detected