dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #05909
Re: Bug in pydolfin?
On Wed, Jan 09, 2008 at 11:48:58PM +0100, Anders Logg wrote:
> On Tue, Jan 08, 2008 at 06:02:47PM +0100, Marie Rognes wrote:
> >
> > Running
> >
> > dolfin/src/demo/pde/poisson/python/demo.py
> >
> > gives the following error:
> >
> > Traceback (most recent call last):
> > File "demo.py", line 67, in ?
> > u = pde.solve()
> > File
> > "/home/meg/src/dolfin/dolfin/local/lib/python2.4/site-packages/dolfin/assemble.py",
> > line 168, in solve
> > (b, dof_maps_L) = assemble(self.L, self.mesh,
> > return_dofmaps=True)
> > File
> > "/home/meg/src/dolfin/dolfin/local/lib/python2.4/site-packages/dolfin/assemble.py",
> > line 58, in assemble
> > cell_domains, exterior_facet_domains, interior_facet_domains, True)
> > File
> > "/home/meg/src/dolfin/dolfin/local/lib/python2.4/site-packages/dolfin/dolfin.py",
> > line 6034, in cpp_assemble
> > return _dolfin.cpp_assemble(*args)
> > IndexError: index out of bounds Swig director method error Error
> > detected when calling 'cpp_Function.eval'
> >
> >
> > Have I forgot to update something or is it perhaps a bug?
>
> Yes, it's a bug. Don't know where this comes from but I expect a merge
> went wrong (we had quite a few changesets going in recently).
>
> I'll try to fix it.
It was a silly intentional bug I introduced when fixing the error
messages in SWIG director methods. It's fixed now.
--
Anders
References