← Back to team overview

dolfin team mailing list archive

Re: Wrapping of double**

 

On Thu, Sep 10, 2009 at 10:54:35AM +0200, Johan Hake wrote:
> On Wednesday 09 September 2009 22:49:29 Anders Logg wrote:
> > Is double** wrapped correctly to Python? I'm trying to call
> > DofMap::tabulate_coordinates:
> >
> >   void tabulate_coordinates(double** coordinates, const Cell& cell) const;
> >
> > As the first argument, I'm sending
> >
> >   cell_coordinates = numpy.zeros((n, d))
> >
> > The error I get is
> >
> >   *** glibc detected *** python: free(): invalid next size (fast):
> >  0x0000000002a07a60 ***
>
> Should be fixed now. The typemap only worked for mxm blocks.

Seems to work! I'll remove my temporary fix.

--
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups

References