Commit 3408c089 authored by Philipp Arras's avatar Philipp Arras
Browse files

Reorder

parent 4f77938b
......@@ -259,6 +259,14 @@ def testSpecialSum(sp):
ift.extra.consistency_check(op)
@pmp('dofdex', [(0,), (1,), (0, 1), (1, 0)])
def testCorFldDistr(dofdex):
tgt = ift.UnstructuredDomain(len(dofdex))
dom = ift.UnstructuredDomain(2)
op = ift.library.correlated_fields._Distributor(dofdex, dom, tgt)
ift.extra.consistency_check(op)
def metatestMatrixProductOperator(sp, mat_shape, seed, **kwargs):
with ift.random.Context(seed):
mat = ift.random.current_rng().standard_normal(mat_shape)
......@@ -314,11 +322,3 @@ def testSlowFieldAdapter(seed):
dom = {'a': ift.RGSpace(1), 'b': ift.RGSpace(2)}
op = ift.operators.simple_linear_operators._SlowFieldAdapter(dom, 'a')
ift.extra.consistency_check(op)
@pmp('dofdex', [(0,), (1,), (0, 1), (1, 0)])
def testCorFldDistr(dofdex):
tgt = ift.UnstructuredDomain(len(dofdex))
dom = ift.UnstructuredDomain(2)
op = ift.library.correlated_fields._Distributor(dofdex, dom, tgt)
ift.extra.consistency_check(op)
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