Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
mtfishman and github-actions[bot] authored Oct 30, 2023
1 parent 9c571bc commit cc3136c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions NDTensors/src/arraystorage/diagonalarray/tensor/contract.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
function promote_rule(
storagetype1::Type{<:ArrayStorage}, storagetype2::Type{<:Diag}
)
function promote_rule(storagetype1::Type{<:ArrayStorage}, storagetype2::Type{<:Diag})
return promote_type(storagetype1, datatype(storagetype2))
end

Expand Down

0 comments on commit cc3136c

Please sign in to comment.