UFL

UFL reports wrong number of sub-elements using restriction

Bug #845663 reported by Garth Wells
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UFL
Fix Released
Undecided
Unassigned

Bug Description

Running

    V= VectorElement("Lagrange", triangle, 4)["facet"]
    print "Num sub-elements", V.num_sub_elements()

incorrectly prints '0', when it should print '2'. The code

    V= VectorElement("Lagrange", triangle, 4)
    print "Num sub-elements", V.num_sub_elements()

prints '2', as expected.

Changed in ufl:
status: New → Confirmed
Changed in ufl:
status: Confirmed → Fix Committed
Changed in ufl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.