Skip to content

Commit

Permalink
rm axes
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj authored Aug 30, 2024
1 parent 1841985 commit 6823662
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/reshaped.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ end

Base.size(d::ReshapedDistribution) = d.dims
Base.eltype(::Type{ReshapedDistribution{<:Any,<:ValueSupport,D}}) where {D} = eltype(D)
Base.axes(d::ReshapedDistribution) = throw(MethodError(axes, (d,))) # avoid generic fallback: not indexable
Base.ndims(d::ReshapedDistribution{N}) where {N} = N

partype(d::ReshapedDistribution) = partype(d.dist)
Expand Down

0 comments on commit 6823662

Please sign in to comment.