Skip to content

Commit

Permalink
Extra argument for DiscreteGaussianSample
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-aws committed Jul 26, 2024
1 parent 96fc4df commit d712e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Tests.dfy
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ module Tests {
for i := 0 to n
invariant -2 in counts && -1 in counts && 0 in counts && 1 in counts && 2 in counts
{
var u := r.DiscreteGaussianSample(7, 5);
var u := r.DiscreteGaussianSample(7, 5, 7);
sum := sum + u;
if u !in counts {
counts := counts[ u := 1 ];
Expand Down

0 comments on commit d712e57

Please sign in to comment.