Skip to content

Conversation

@jishnub
Copy link
Member

@jishnub jishnub commented May 2, 2021

Currently

julia> ndims(Vector{Int})
1

julia> ndims(Vector)
ERROR: MethodError: no method matching ndims(::Type{Vector})

After this PR:

julia> ndims(Vector)
1

@test reverse(Diagonal([]),dims=1) == Diagonal([])
end

@testset "ndims and friends" begin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like ndims doesn't have any friends.

@fredrikekre fredrikekre merged commit b3b9aa0 into JuliaLang:master May 3, 2021
@jishnub jishnub deleted the ndimsAbsArray branch May 3, 2021 09:08
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
jarlebring pushed a commit to jarlebring/julia that referenced this pull request May 4, 2021
jarlebring pushed a commit to jarlebring/julia that referenced this pull request May 6, 2021
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants