Commit 520e69e7 authored by Reimar H Leike's avatar Reimar H Leike
Browse files


parent 352486dc
...@@ -47,10 +47,11 @@ class Consistency_Tests(unittest.TestCase): ...@@ -47,10 +47,11 @@ class Consistency_Tests(unittest.TestCase):
dofdex = np.random.choice(np.arange(3), size=sp.shape) dofdex = np.random.choice(np.arange(3), size=sp.shape)
dofdex = ift.Field.from_global_data(sp, dofdex) dofdex = ift.Field.from_global_data(sp, dofdex)
op = ift.DOFDistributor(dofdex) op = ift.DOFDistributor(dofdex)
break ift.extra.consistency_check(op, dtype, dtype)
except ValueError: except ValueError:
pass pass
ift.extra.consistency_check(op, dtype, dtype)
@expand(product(_h_spaces, [np.float64, np.complex128])) @expand(product(_h_spaces, [np.float64, np.complex128]))
def testPPO(self, sp, dtype): def testPPO(self, sp, dtype):
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