Skip to content

Commit

Permalink
CombinationsDistribution: Fix unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed May 16, 2024
1 parent d10baf6 commit 3c14e31
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ Point CombinationsDistribution::getRealization() const
{
Indices flags(n_);
Indices integralRealization;
Bool done = false;
// Build the complementary subset if its cardinal is smaller than k_
const UnsignedInteger actualK = (k_ > n_ / 2 ? n_ - k_ : k_);
while (integralRealization.getSize() < actualK)
Expand Down

0 comments on commit 3c14e31

Please sign in to comment.