ReducedFunctional's taylor_test doesn't honour InitialConditionParameter(str)

Bug #1059059 reported by Patrick Farrell
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Simon Funke

Bug Description

I tried the new taylor_test method of the ReducedFunctional in

Traceback (most recent call last):
  File "", line 39, in <module>
  File "/home/pef/src/dolfin-adjoint/dolfin_adjoint/", line 91, in taylor_test
    m_array = get_global(m)
  File "/home/pef/src/dolfin-adjoint/dolfin_adjoint/", line 35, in get_global
    raise TypeError, 'Unknown parameter type %s.' % str(type(m))
TypeError: Unknown parameter type <type 'str'>.

It is caused by the ReducedFunctional being created with InitialConditionParameter("Solution").

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.