← Back to team overview

ffc team mailing list archive

Re: [Fwd: [Branch ~ffc-core/ffc/main] Rev 1412: Fix silly bug introduced in JIT compiler]

 


Anders Logg wrote:
> Looks like you need a new UFL version.
>

I have the latest.

Looking in ufl.Form, I see

   self._form_data = None

and

    def is_preprocessed(self):
        "Check if form has been preprocessed"
        return self._form_data is not None

There is no 'self.form_data'

Garth


> --
> Anders
> 
> o
> On Sun, Feb 07, 2010 at 10:09:10PM +0000, Garth N. Wells wrote:
>> There is a problem when running the DOLFIN demos:
>>
>> File "/usr/local/lib/python2.6/dist-packages/ffc/jitcompiler.py", line
>> 75, in jit_form
>>     if form.form_data() is None:
>> AttributeError: 'Form' object has no attribute 'form_data'
>>
>> Garth
>>
>>
>> -------- Original Message --------
>> Subject: [Branch ~ffc-core/ffc/main] Rev 1412: Fix silly bug
>> introduced in JIT	compiler
>> Date: Sun, 07 Feb 2010 21:38:11 -0000
>> From: noreply@xxxxxxxxxxxxx
>> Reply-To: noreply@xxxxxxxxxxxxx
>> To: Garth Wells <gnw20@xxxxxxxxx>
>>
>> ------------------------------------------------------------
>> revno: 1412
>> committer: Anders Logg <logg@xxxxxxxxx>
>> branch nick: ffc-main
>> timestamp: Sun 2010-02-07 22:36:18 +0100
>> message:
>>   Fix silly bug introduced in JIT compiler
>> modified:
>>   ffc/jitcompiler.py
>>
>>



Follow ups

References