Skip to content

Commit 573529f

Browse files
authored
Some more consistency changes
1 parent 039d72d commit 573529f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/indexnotation/instantiators.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@ function instantiate_generaltensor(
122122
β = βsym
123123
end
124124
if alloc (NewTensor, TemporaryTensor)
125-
TC = gensym("T_" * string(dst))
125+
TCsym = gensym("T_" * string(dst))
126126
istemporary = Val(alloc === TemporaryTensor)
127127
TCval = @something(
128128
scaltype, instantiate_scalartype=== One() ? src : Expr(:call, :*, α, src))
129129
)
130-
push!(out.args, Expr(:(=), TC, TCval))
130+
push!(out.args, Expr(:(=), TCsym, TCval))
131131
push!(
132132
out.args,
133-
Expr(:(=), dst, :(tensoralloc_add($TC, $src, $p, $conj, $istemporary)))
133+
Expr(:(=), dst, :(tensoralloc_add($TCsym, $src, $p, $conj, $istemporary)))
134134
)
135135
end
136136

0 commit comments

Comments
 (0)