Skip to content

Commit

Permalink
Revert "Call method on NamedTuple"
Browse files Browse the repository at this point in the history
This reverts commit a86cac4.
  • Loading branch information
sethaxen committed Sep 5, 2024
1 parent 96ccc99 commit 1eabd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/namedtuple/productnamedtuple.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function ProductNamedTupleDistribution(
dists::NamedTuple{K,V}
) where {K,V<:Tuple{Distribution,Vararg{Distribution}}}
vs = _product_valuesupport(values(dists))
eltypes = _product_namedtuple_eltype(dists)
eltypes = _product_namedtuple_eltype(values(dists))
return ProductNamedTupleDistribution{K,V,vs,eltypes}(dists)
end

Expand Down

0 comments on commit 1eabd23

Please sign in to comment.