Skip to content

Commit 33badcd

Browse files
committed
bug fix
1 parent 2734240 commit 33badcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flatten.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const flattened_dists = [ Bernoulli,
6868
Truncated,
6969
]
7070
for T in flattened_dists
71-
@eval toflatten(::T) = true
71+
@eval toflatten(::$T) = true
7272
end
7373
toflatten(::Distribution) = false
7474
for T in flattened_dists

0 commit comments

Comments
 (0)