File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ apply a transfer matrix to the left.
21
21
t_top = tensorexpr (:A , 2 : (N₂ + 1 ), - (N₁ + 1 ))
22
22
t_bot = tensorexpr (:Ā , (1 , (3 : (N₂ + 1 )). .. ), - 1 )
23
23
t_in = tensorexpr (:v , 1 , (- (2 : N₁). .. , 2 ))
24
- return :(return @plansor $ t_out := $ t_in * $ t_top * conj ($ t_bot))
24
+ return macroexpand ( :(return @plansor $ t_out := $ t_in * $ t_top * conj ($ t_bot) ))
25
25
end
26
26
27
27
"""
@@ -41,7 +41,7 @@ apply a transfer matrix to the right.
41
41
t_top = tensorexpr (:A , (- 1 , reverse (3 : (N₂ + 1 ))... ), 1 )
42
42
t_bot = tensorexpr (:Ā , (- (N₁ + 1 ), reverse (3 : (N₂ + 1 ))... ), 2 )
43
43
t_in = tensorexpr (:v , 1 , (- (2 : N₁). .. , 2 ))
44
- return :(return @plansor $ t_out := $ t_top * conj ($ t_bot) * $ t_in)
44
+ return macroexpand ( :(return @plansor $ t_out := $ t_top * conj ($ t_bot) * $ t_in) )
45
45
end
46
46
47
47
# transfer, but the upper A is an excited tensor
You can’t perform that action at this time.
0 commit comments