mapslices(f, d; dims=n)
is type unstable
#36022
Labels
duplicate
Indicates similar issues or pull requests
mapslices(f, d; dims=n)
is type unstable
#36022
A call to
mapslices
that takes adims
argument is type unstable. This is the case in all recent versions of Julia (1.1.1, 1.2.0, 1.3.1, 1.4.2).For example:
Shows the following with
@code_warntype
:Due to this type instability, things like
Statistics.median(d; dims=n)
are also type unstable.The text was updated successfully, but these errors were encountered: