diff --git a/FIAT/nedelec.py b/FIAT/nedelec.py index 32a794d21..b35c81f27 100644 --- a/FIAT/nedelec.py +++ b/FIAT/nedelec.py @@ -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 = {} @@ -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 = {}