Skip to content

Commit

Permalink
sigma
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-aws committed Nov 7, 2023
1 parent 3563143 commit 5baa5d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Tests.dfy
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ module Tests {
{
var empiricalMean := empiricalSum / n as real;
var diff := Abs(empiricalMean - trueMean);
var threshold := 7.0 * 7.0 * trueVariance / n as real;
if diff * diff > threshold {
var threshold := 10.0 * 10.0 * trueVariance / n as real;
if diff * diff >= threshold {
print "Test failed: ", description, "\n";
print "Difference between empirical and true mean: ", diff, "\n";
print "squared difference: ", diff * diff, "\n";
Expand Down

0 comments on commit 5baa5d3

Please sign in to comment.