← Back to team overview

dolfin team mailing list archive

Problem with Array typemape

 

Is the idea that OUT_NUMPY_TYPEMAP_FOR_DOLFIN_ARRAY should take care
of mapping all return values which are Arrays (at least for double,
int, uint)?

I'm getting strange return values when calling TimeSeries::vector_times
from Python.

The debugging code inside TimeSeries::vector_times prints

0: 0
1: 0.02
2: 0.04

while the NumPy array contains the values

[  6.35862486e-321   0.00000000e+000   4.74303020e-322]

--
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups