Skip to content
Snippets Groups Projects
Commit 263e3a5d authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Remove more assertions

parent 70c6083e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment