From 73691547ba865e7f2a080cb9915eb77f2bdc5626 Mon Sep 17 00:00:00 2001 From: IgorBaratta Date: Wed, 20 Dec 2023 16:04:03 +0000 Subject: [PATCH] fix quadrature permutation --- ffcx/codegeneration/symbols.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ffcx/codegeneration/symbols.py b/ffcx/codegeneration/symbols.py index 226a1db06..c9ba35e79 100644 --- a/ffcx/codegeneration/symbols.py +++ b/ffcx/codegeneration/symbols.py @@ -214,9 +214,9 @@ def table_access(self, tabledata, entitytype, restriction, quadrature_index, dof qp = 0 if tabledata.is_permuted: - qp = self.quadrature_permutation(0) + qp = self.quadrature_permutation[0] if restriction == "-": - qp = self.quadrature_permutation(1) + qp = self.quadrature_permutation[1] if dof_index.dim == 1: return self.element_tables[tabledata.name][qp][entity][iq_global_index][ic_global_index]