- Add check to
conditional_resample(res, ind, w, k, i)
checking thatw[i]
is strictly greater than zero. - Add test to check that an assertion error is thrown otherwise.
conditional_resample(res, ind, w, k, i)
checking that w[i]
is strictly greater than zero.