Skip to content

Commit

Permalink
tests fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
PoorvaGarg committed Nov 29, 2024
1 parent 9ddeb86 commit 8ab3e1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/dist/number/fix_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ end
# Negative F
y = bitblast(DistFix{5, -1}, Normal(1, 1), 2, -4.0, 4.0)
p = pr(y)
d = TruncatedNormal(1, 1, -4, 4)
d = truncated(Normal(1, 1), -4, 4)
for i in keys(p)
@test p[i] cdf(d, i+2) - cdf(d, i)
end
Expand Down
4 changes: 2 additions & 2 deletions test/util_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ end
@test p1[i] p2[i]
end

x1 = gaussian_bitblast_sample(DistFix{3, 1}, 0.0, 1.0, 2, -2.0, 2.0, [false, false])
p = pr(x1)
# x1 = gaussian_bitblast_sample(DistFix{3, 1}, 0.0, 1.0, 2, -2.0, 2.0, [false, false])
# p = pr(x1)

end

0 comments on commit 8ab3e1c

Please sign in to comment.