Skip to content

Commit

Permalink
Fix gen-quad reference simplex
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrubeck committed Jul 19, 2024
1 parent afc4bf9 commit e88c174
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FIAT/quadrature_schemes.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ def _kmv_lump_scheme(ref_el, degree):


def gen_quad_simplex(dim):
ref_el = ufc_simplex(dim)
ref_el.vertices = ((0., 0., 0.), (1., 0., 0.), (0., 1., 1.), (1., 1., 1.))
ref_el = symmetric_simplex(dim)
ref_el.vertices = tuple(tuple(float(i > j) for j in range(dim)) for i in range(dim+1))
return ref_el


Expand Down

0 comments on commit e88c174

Please sign in to comment.