← Back to team overview

dolfin team mailing list archive

Re: Wrapping of double**

 

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.

Johan

> --
> Anders
> 


Follow ups

References