Vector assignment is not annotated

Bug #1053291 reported by James Maddison
6
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(Constant(1.0))
vec = F1.vector()
vec[:] = F2.vector()

or:

F1 = Function(space, "CG", 1)
F2 = Function(space, "CG", 1)
F3 = Function(space, "CG", 1)
F2.assign(Constant(1.0))
F3.assign(Constant(2.0))
vec = F1.vector()
vec[:] = F2.vector()
vec += 2.0 * F3.vector()

are not annotated by dolfin-adjoint.

Revision history for this message
Simon Funke (simon-funke) wrote :

Ignore my previous comment, please.

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.