as_vector and subfunctions broken
Bug #747524 reported by
Garth Wells
This bug report is a duplicate of:
Bug #676853: compute_form_arities throws error on list tensors.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UFL |
Confirmed
|
High
|
Unassigned |
Bug Description
The below UFL code breaks. The problem was introduced in changeset 941,
http://
element = VectorElement(
scalar = FiniteElement(
f = Coefficient(
# Works
#vs = Coefficient(scalar)
#v0 = as_vector([vs, 0.0, 0.0])
#L = dot(f, v0)*dx
# Breaks
v = TestFunction(
v0 = as_vector([v[0], 0.0, 0.0])
L = dot(f, v0)*dx
Changed in ufl: | |
status: | New → Confirmed |
importance: | Undecided → High |
To post a comment you must log in.
Looks like problem was introduced in
ufl/ algorithms/ formtransformat ions.py