Vector assignment is not annotated
Bug #1053291 reported by
James Maddison
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dolfin-adjoint |
New
|
Undecided
|
Unassigned |
Bug Description
Vector assignments of the form:
F1 = Function(space, "CG", 1)
F2 = Function(space, "CG", 1)
F2.assign(
vec = F1.vector()
vec[:] = F2.vector()
or:
F1 = Function(space, "CG", 1)
F2 = Function(space, "CG", 1)
F3 = Function(space, "CG", 1)
F2.assign(
F3.assign(
vec = F1.vector()
vec[:] = F2.vector()
vec += 2.0 * F3.vector()
are not annotated by dolfin-adjoint.
To post a comment you must log in.
Ignore my previous comment, please.