We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fda517 commit ec4a778Copy full SHA for ec4a778
src/flatten.jl
@@ -68,7 +68,7 @@ const flattened_dists = [ Bernoulli,
68
Truncated,
69
]
70
for T in flattened_dists
71
- @eval toflatten(::T) = true
+ @eval toflatten(::$T) = true
72
end
73
toflatten(::Distribution) = false
74
0 commit comments