Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kmp5VT committed May 20, 2024
1 parent 5ae6ae6 commit ae40536
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion NDTensors/src/diag/tensoralgebra/contract.jl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ function contract!(
# TODO: should we make this return a Diag storage?
for i in 1:min_dim
setdiagindex!(
C, α * getdiagindex(expose(A), i) * getdiagindex(expose(B), i) + β * getdiagindex(expose(C), i), i
C,
α * getdiagindex(expose(A), i) * getdiagindex(expose(B), i) +
β * getdiagindex(expose(C), i),
i,
)
end
end
Expand Down

0 comments on commit ae40536

Please sign in to comment.