Commit 1161d07a authored by Martin Reinecke's avatar Martin Reinecke

fix

parent ca11700c
......@@ -173,11 +173,10 @@ def testContractionOperator(spaces, wgt, dtype):
def testDomainTupleFieldInserter():
domain = ift.DomainTuple.make((ift.UnstructuredDomain(12),
target = ift.DomainTuple.make((ift.UnstructuredDomain([3, 2]),
ift.UnstructuredDomain(7),
ift.RGSpace([4, 22])))
new_space = ift.UnstructuredDomain(7)
pos = (5,)
_check_repr(ift.DomainTupleFieldInserter(domain, new_space, 0, pos))
_check_repr(ift.DomainTupleFieldInserter(target, 1, (5,)))
@pmp('space', [0, 2])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment