Skip to content

Conversation

@mtfishman
Copy link
Member

Fix similartype(Diagonal) to return a Matrix, and also introduce similartype(Array, NDims(3)). Closes #1566 and closes #1567.

@mtfishman mtfishman changed the title [TypeParameterAccessors] Fix similartype(Diagonal) [TypeParameterAccessors] Fix similartype(Diagonal), introduce similartype(Array, NDims(3)) Nov 6, 2024
@mtfishman mtfishman merged commit 7beae37 into main Nov 6, 2024
13 checks passed
@mtfishman mtfishman deleted the TypeParameterAccessors_similartype_diagonal branch November 6, 2024 18:50
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.

[NDTensors] [ENHANCEMENT] Support similartype(Matrix{Float64}, Val(3)) [NDTensors] [BUG] similartype(::Diagonal) returns Vector instead of Matrix

2 participants