← 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]

 

On Sun, Feb 07, 2010 at 11:00:19PM +0000, Garth N. Wells wrote:
>
>
> 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'

Sorry, my fault. I pushed the UFL update a while ago but didn't notice
that Kristian had pushed a change to my push was rejected. Merged and
pushed now.

--
Anders


> Garth
>
>
> >> 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
> >>
> >>

Attachment: signature.asc
Description: Digital signature


References