Skip to content

Commit 5a66c2b

Browse files
committed
Add test for index inheritance of Trace
1 parent 9c9f04c commit 5a66c2b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/implicit.cdb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,13 @@ def test03():
4141

4242
test03()
4343

44+
def test04():
45+
__cdbkernel__=create_scope()
46+
{a,b,c,d}::Indices(spinor);
47+
Tr{#}::Trace(indices=spinor);
48+
ex:=Tr( V^{m} ) + W^{m};
49+
print("Test 04 passed")
4450

51+
test04()
52+
53+

0 commit comments

Comments
 (0)