Skip to content
Snippets Groups Projects
Commit 51df68cf authored by François  LAURENT's avatar François LAURENT
Browse files

hotfix for capacitysampling

parent 27a49f61
Branches
No related tags found
No related merge requests found
Pipeline #112525 failed
...@@ -767,7 +767,7 @@ end ...@@ -767,7 +767,7 @@ end
presample(_, ::Nothing, _, _, counts) = (0, sum(values(counts))) presample(_, ::Nothing, _, _, counts) = (0, sum(values(counts)))
presample(_, cumulatedcount, _, _, counts) = (sum(cumulatedcount), sum(values(counts))) presample(_, cumulatedcount, _, _, counts) = (sum(cumulatedcount), sum(values(counts)))
struct CapacitySampling <: RatioBasedSampling mutable struct CapacitySampling <: RatioBasedSampling
selectors selectors
maxcount::Integer maxcount::Integer
rng rng
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment