Skip to content

Commit

Permalink
fix quadrature permutation
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorBaratta committed Dec 20, 2023
1 parent 97ae5f5 commit 7369154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ffcx/codegeneration/symbols.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 7369154

Please sign in to comment.