Comment 5 for bug 1032291

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

A fix is commited to lp:~libadjoint/dolfin-adjoint/bug_1032291

The bug was caused by the fact that the first nonlinear solve of a variable does not annotate an initial condition.
As a consequence, the functional evaluation could not access the left hand side value of the first time interval (which is the initial condition).

This fix ensures that even for nonlinear sovles an initial condition is annotated.