Skip to content

Commit bc84370

Browse files
committed
Undo ugly formatting changes
1 parent c747137 commit bc84370

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/tensors/indexmanipulations.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ for f! in (:add_permute!, :add_transpose!)
102102
end
103103
dstdata = parent(tdst)
104104
srcdata = permutedims(StridedView(parent(tsrc)), (p₁..., p₂...))
105+
105106
@inbounds for I in eachindex(dstdata, srcdata)
106107
dstdata[I] = TK.$f!(dstdata[I], srcdata[I], (p₁, p₂), α, β, backend...)
107108
end
@@ -230,8 +231,7 @@ function TK.add_braid!(
230231
end
231232

232233
Base.@constprop :aggressive function TK.insertleftunit(
233-
t::AbstractBlockTensorMap, i::Int = numind(t) + 1;
234-
kwargs...
234+
t::AbstractBlockTensorMap, i::Int = numind(t) + 1; kwargs...
235235
)
236236
W = TK.insertleftunit(space(t), i; kwargs...)
237237
tdst = similar(t, W)
@@ -243,8 +243,7 @@ Base.@constprop :aggressive function TK.insertleftunit(
243243
end
244244

245245
Base.@constprop :aggressive function TK.insertrightunit(
246-
t::AbstractBlockTensorMap, i::Int = numind(t) + 1;
247-
kwargs...
246+
t::AbstractBlockTensorMap, i::Int = numind(t) + 1; kwargs...
248247
)
249248
W = TK.insertrightunit(space(t), i; kwargs...)
250249
tdst = similar(t, W)

0 commit comments

Comments
 (0)