From 263e3a5d7d76bffbd4bffbe2cbf7cf271bf17307 Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
Date: Tue, 12 Feb 2019 11:25:17 +0100
Subject: [PATCH] Remove more assertions

---
 python/dune/codegen/sumfact/symbolic.py   | 2 --
 python/dune/codegen/sumfact/tabulation.py | 2 --
 2 files changed, 4 deletions(-)

diff --git a/python/dune/codegen/sumfact/symbolic.py b/python/dune/codegen/sumfact/symbolic.py
index 90597614..da26c7b9 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 80275814..9def97eb 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:
-- 
GitLab