Skip to content

Commit

Permalink
add missing key
Browse files Browse the repository at this point in the history
  • Loading branch information
miklos1 committed Apr 10, 2017
1 parent 013cbca commit fecac5b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions finat/quadrature_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ def degree(self):
@cached_property
def _entity_dofs(self):
# Inspired by ffc/quadratureelement.py
entity_dofs = {
{entity: [] for entity in entities}
for dim, entities in iteritems(self.cell.get_topology())
}
entity_dofs = {dim: {entity: [] for entity in entities}
for dim, entities in iteritems(self.cell.get_topology())}
entity_dofs[self.cell.get_dimension()] = {0: list(range(self.space_dimension()))}
return entity_dofs

Expand Down

0 comments on commit fecac5b

Please sign in to comment.