Skip to content

Correcting PDF sampling

Maxence Draguet requested to merge maxence-pdf-generator-fix into master

Correcting PDF resampling: indices selection in iterator approach bugged due to weights not being normalised before selection. This MR solves this and modifies slightly the indices selection per chunk: number to sample per chunk is proportional to the relative chunk weight to the full weight distribution (overall chunks).

Merge request reports