← Back to team overview

dolfin team mailing list archive

Re: dolfin/python error

 

On Wed, Aug 12, 2009 at 11:04 PM, Shawn Walker<walker@xxxxxxxxxxxxxxx> wrote:
> Hallelujah!!!!
>
> - Shawn
>
> On Wed, 12 Aug 2009, Anders Logg wrote:
>
>> On Wed, Aug 12, 2009 at 10:33:52PM +0200, Anders Logg wrote:
>>> Yes! It crashes, excellent! I'll try to figure out why.
>>
>> Found it!
>>
>> It works if I change to "int64" in the line
>>
>>  cells = numpy.array([4,0,1,2,3], dtype='int64')
>>
>> Viper also works if I change line 590 in viper.py to
>>
>>  inttype = 'int64'

A fix that should resolve this automatically (Ander's fix would break
on my VTK installation) is pushed to the viper repository.

Thanks for the effort, both of you.

Ola

>> --
>> Anders
>>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>



-- 
Ola Skavhaug


Follow ups

References