You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
code = @dice begin
function uniform(bitrange::Int, bitwidth::Int)
ans = fill(DistBool(dicecontext(), false), bitwidth)
for i = 1:bitrange
ans[i] = flip(0.5)
end
DistInt(ans)
end
a = uniform(3, 4)
b = uniform(3, 4)
max(a,b)
end
infer(code, :bdd)
ERROR: MethodError: no method matching isless(::DistInt, ::DistInt)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: