From eddb3a5981c625377a299edcbe0443b595cc1665 Mon Sep 17 00:00:00 2001 From: IgorBaratta Date: Wed, 3 Jan 2024 17:44:51 +0000 Subject: [PATCH] fix mypy issues --- ffcx/codegeneration/access.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ffcx/codegeneration/access.py b/ffcx/codegeneration/access.py index 9b04274f2..d93b56f67 100644 --- a/ffcx/codegeneration/access.py +++ b/ffcx/codegeneration/access.py @@ -380,9 +380,9 @@ def table_access(self, tabledata: UniqueTableReferenceT, entitytype: str, restri # FIXME: Hopefully tabledata is not permuted when applying sum # factorization if tabledata.is_permuted: - qp = self.quadrature_permutation[0] + qp = self.symbols.quadrature_permutation[0] if restriction == "-": - qp = self.quadrature_permutation[1] + qp = self.symbols.quadrature_permutation[1] if dof_index.dim == 1 and quadrature_index.dim == 1: return self.symbols.element_tables[tabledata.name][qp][entity][iq_global_index][ic_global_index] @@ -392,6 +392,6 @@ def table_access(self, tabledata: UniqueTableReferenceT, entitytype: str, restri factor = tabledata.tensor_factors[i] iq_i = quadrature_index.local_index(i) ic_i = dof_index.local_index(i) - table = self.element_tables[factor.name][qp][entity][iq_i][ic_i] + table = self.symbols.element_tables[factor.name][qp][entity][iq_i][ic_i] FE.append(table) return L.Product(FE)