UFL

compute_form_arities throws error on list tensors

Bug #676853 reported by Patrick Riesen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
UFL
Fix Released
High
Unassigned

Bug Description

a rank error problem is caused by the following code:

from ufl.algorithms import compute_form_arities

cell = interval
FE = FiniteElement("CG", cell, 2)
u = Coefficient(FE)

e = as_matrix([[u, 0.0],
               [0.0, 0.0]])
L = tr(e)*dx

U = TrialFunction(FE)
a = derivative(L, u, U)
compute_form_arities(a)

Related branches

Changed in ufl:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Garth Wells (garth-wells) wrote :

The problem was introduced in changeset 941

Changed in ufl:
importance: Medium → High
Changed in ufl:
status: Confirmed → Fix Committed
Changed in ufl:
status: Fix Committed → Fix Released
Changed in ufl:
status: Fix Released → 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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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