ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #01807
A bug when jit() is called without any options
Hello!
When jit is called without any options I get the following:
File "/home/hake/local/lib/python2.5/site-packages/ffc/jit/jit.py", line 43,
in jit
options = check_options(form, options)
File "/home/hake/local/lib/python2.5/site-packages/ffc/jit/jit.py", line 80,
in check_options
options = options.copy()
AttributeError: 'NoneType' object has no attribute 'copy'
jit tries to copy a None.
if options is None:
options = {}
else:
options = options.copy()
Would du the trick.
Johan
Follow ups