Quadrature representation deprecation warning

I get this following deprecation warning and don’t know where and what to change to get rid of it ? It is a rather long code-work and I don’t even know how to create a MWE that is lucid.

issue_deprecation_warning()
/usr/local/lib/python3.6/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:
*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs ***
*** representation instead. ***
*** ===================================================== ***

Thank you.

You can shut off printing the warning with

import warnings
from ffc.quadrature.deprecation \
    import QuadratureRepresentationDeprecationWarning
warnings.simplefilter("ignore", QuadratureRepresentationDeprecationWarning)

If you’re concerned about the underlying cause, you can search through your code for the word “quadrature”, since you must have activated quadrature representation manually somewhere. However, due to a bug, some operations require quadrature representation, namely solving any variational problem in which the unknown Function is in a FunctionSpace of type “Quadrature”.

Thank you kamensky,

I changed the representation from ‘quadrature’ to ‘uflacs’ by:

parameters[“form_compiler”][‘representation’] = ‘uflacs’

and it solved the question.