Skip to content

Commit

Permalink
Merge pull request #55 from FEniCS/wence/fix/nedelec-integral-moment
Browse files Browse the repository at this point in the history
N1curl: Correctly advertise shape of interior moments
  • Loading branch information
wence- authored Aug 17, 2020
2 parents e16d9f3 + 7f95abd commit d085f35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FIAT/nedelec.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def __init__(self, ref_el, degree, variant, quad_deg):
for d in range(sd):
for i in range(Pkm1_at_qpts.shape[0]):
phi_cur = Pkm1_at_qpts[i, :]
l_cur = functional.IntegralMoment(ref_el, Q, phi_cur, (d,))
l_cur = functional.IntegralMoment(ref_el, Q, phi_cur, (d,), (sd,))
nodes.append(l_cur)

entity_ids = {}
Expand Down Expand Up @@ -317,7 +317,7 @@ def __init__(self, ref_el, degree, variant, quad_deg):
for d in range(sd):
for i in range(Pkm2_at_qpts.shape[0]):
phi_cur = Pkm2_at_qpts[i, :]
f = functional.IntegralMoment(ref_el, Q, phi_cur, (d,))
f = functional.IntegralMoment(ref_el, Q, phi_cur, (d,), (sd,))
nodes.append(f)

entity_ids = {}
Expand Down

0 comments on commit d085f35

Please sign in to comment.