Skip to content

Commit e509e2b

Browse files
committed
style: apply Runic formatting
1 parent 14d823f commit e509e2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/TensorOperationsChainRulesCoreExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function ChainRulesCore.rrule(
4040
end
4141

4242
function ChainRulesCore.rrule(::typeof(tensorscalar), C)
43-
projectC = ProjectTo(C)
43+
projectC = ProjectTo(C)
4444
function tensorscalar_pullback(Δc)
4545
_Δc = unthunk(Δc)
4646
return NoTangent(), projectC(_Δc)
@@ -284,7 +284,7 @@ function _rrule_tensortrace!(C, A, p, q, conjA, α, β, ba)
284284
dA = @thunk let
285285
ip = invperm((linearize(p)..., q[1]..., q[2]...))
286286
Es = map(q[1], q[2]) do i1, i2
287-
one(
287+
one(
288288
TensorOperations.tensoralloc_add(
289289
scalartype(A), A, ((i1,), (i2,)), conjA
290290
)

0 commit comments

Comments
 (0)