diff --git a/python/dune/codegen/sumfact/symbolic.py b/python/dune/codegen/sumfact/symbolic.py index 905976142d8000d6e1cb727bed52569022da3c91..da26c7b9e111fdc7d9da6253297e9a9814abe91b 100644 --- a/python/dune/codegen/sumfact/symbolic.py +++ b/python/dune/codegen/sumfact/symbolic.py @@ -240,8 +240,6 @@ class VectorSumfactKernelInput(SumfactKernelInterfaceBase): # permutation. For both structured and unstructured grids the order of # the global directions should be the same leading to the same cost # permutation for all those sum factorization kernels. - for i in self.interfaces: - assert i.cost_permutation == self.interfaces[0].cost_permutation return self.interfaces[0].cost_permutation @property diff --git a/python/dune/codegen/sumfact/tabulation.py b/python/dune/codegen/sumfact/tabulation.py index 80275814217d9f3ff629555f92b3aab3e16645e7..9def97eb3ba4fdae280cc65e7f12ca73164d1146 100644 --- a/python/dune/codegen/sumfact/tabulation.py +++ b/python/dune/codegen/sumfact/tabulation.py @@ -145,10 +145,8 @@ class BasisTabulationMatrixArray(BasisTabulationMatrixBase): assert isinstance(tabs, tuple) # Assert that all the basis tabulations match in size! - assert len(set(t.quadrature_size for t in tabs)) == 1 assert len(set(t.basis_size for t in tabs)) == 1 assert len(set(t.transpose for t in tabs)) == 1 - assert len(set(t.slice_size for t in tabs)) == 1 self.tabs = tabs if width is None: