← Back to team overview

dolfin team mailing list archive

Problem with compile_function

 

I'm having problems getting vector-valued constants working. Take a
look at

    demo/pde/stokes/taylor-hood/python

It reports

    assert(isinstance(defaults[i], (dict, types.NoneType)),"Wrong type
    in 'defaults'")
   TypeError: 'NoneType' object is unsubscriptable

It seems like defaults is set to None and then defaults is indexed.

Any ideas?

-- 
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups