Skip to content

MV2.array(0.).fill_value is NaN! #959

@stefraynaud

Description

@stefraynaud

In the TransientVariable.__new__ method, the following code assign a NaN value to the fill_value attribute:

       fill_value = numpy.array(fill_value).astype(dtype),

So, for instance:

>>> numpy.isnan(MV2.array(0.).fill_value)
True

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions