dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #24962
Re: [Bug 888282] [NEW] New Python solve interface badly broken
Looks like confusion about whether bcs should be a keyword argument or
not. Should we support both this
solve(a == L, Uh, bcs=bcs)
and this
solve(a == L, Uh, bcs)
?
--
Anders
On Wed, Nov 09, 2011 at 08:52:56PM -0000, Launchpad Bug Tracker wrote:
> Garth Wells (garth-wells) has assigned this bug to you for DOLFIN:
>
> New solve interface for variational problem has a serious bug. The code
>
> solve(a == L, Uh, bcs=bcs)
>
> does not work. Culprit looks like
>
> # Extract boundary conditions
> if len(args) == 2:
> bcs = []
> else:
> bcs = _extract_bcs(args[2])
>
> in solving.py.
>
> ** Affects: dolfin
> Importance: Critical
> Assignee: Anders Logg (logg)
> Status: New