Skip to content

Commit ecbc41a

Browse files
committed
Delete superfluous NamedDist constructor
1 parent d00d1c0 commit ecbc41a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/distribution_wrappers.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ struct NamedDist{
1818
name::VarName{name}
1919
end
2020

21-
NamedDist(dist::Distribution{variate, support}, vn::VarName{name}) where {variate, support, name} =
22-
NamedDist{variate, support, typeof(dist), name}(dist, vn)
2321
NamedDist(dist::Distribution, name::Symbol) = NamedDist(dist, VarName(name))
2422

2523

0 commit comments

Comments
 (0)