ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #00643
Re: 0.3.3 on NavierStokes.form with -O throws an error
On Thursday 07 September 2006 03:16, Anders Logg wrote:
> This is a bug in FFC, thanks for noticing. Pull the latest hg version
> or make the following fix in the function build_rhs in the file
> src/ffc/compiler/optimization.py.
>
> Where it says
>
> # Special case, no terms
> if len(terms) == 0:
> return "0.0"
>
> change to
>
> # Special case, no terms
> if len(terms) == 0:
> return ("0.0", 0)
>
> /Anders
Ok. That fixed it. Thanks.
--
Osman F. Buyukisik
References