ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #01679
FFC/jit options
Hi,
Why does the jit compiler use pop() when extracting options? e.g.,
representation = options.pop("representation", FFC_REPRESENTATION)
this means that if I do:
def compile_form(form, options):
(compiled_form, module, form_data) = jit(form, options)
options = {"representation":"quadrature"}
for form in forms:
compile_form(form, options)
the second time I call jit options = {} which is clearly not what I want.
Kristian
Follow ups