Skip to content

Commit

Permalink
Add missing using statements
Browse files Browse the repository at this point in the history
  • Loading branch information
kmp5VT committed Oct 8, 2024
1 parent 555ffbb commit 0c59245
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NDTensors/src/abstractarray/similar.jl
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ end
# NDTensors.similar
similar(array::AbstractArray, dims::Tuple) = NDTensors.similar(typeof(array), dims)

using NDTensors.Expose: Exposed, unexpose
function similar(E::Exposed, eltype::Type)
return similar(unexpose(E), eltype)
end
Expand Down

0 comments on commit 0c59245

Please sign in to comment.