← Back to team overview

dolfin team mailing list archive

Re: [Question #95274]: Unable to Plot Dolfin Demos after Upgrade

 

Question #95274 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/95274

Myles English proposed the following answer:
Ted,

This little change makes (at least) "python
demo/pde/poisson1D/python/demo.py" work.

=== modified file 'ffc/jit.py'
--- ffc/jit.py	2009-12-15 15:43:45 +0000
+++ ffc/jit.py	2009-12-31 17:57:24 +0000
@@ -109,7 +109,7 @@
 
     # Generate code
     signature = jit_object.signature()
-    preprocessed_form, form_data = compile_form(preprocessed_form, signature, options)[0]
+    preprocessed_form, form_data = compile_form(preprocessed_form, {}, signature, options)[0]
 
     # Create python extension module using Instant (through UFC)
     debug("Creating Python extension (compiling and linking), this may take some time...")


Myles

You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups