Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
stefraynaud opened this issue Jan 12, 2015 · 3 comments
Closed

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

stefraynaud opened this issue Jan 12, 2015 · 3 comments
Assignees
Milestone

Comments

@stefraynaud
Copy link
Contributor

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
@doutriaux1 doutriaux1 added this to the 2.2 milestone Jan 12, 2015
@doutriaux1 doutriaux1 self-assigned this Jan 12, 2015
@doutriaux1
Copy link
Contributor

commented already onyuor other post. It gets really really bad in numpy 1.9.1 ... I think a huge overhaul is needed at this point...

@durack1
Copy link
Member

durack1 commented Jan 12, 2015

@doutriaux1 as noted in #481 is the so called "VTK readers" a possible path forward here?

@doutriaux1
Copy link
Contributor

Maybe.

@doutriaux1 doutriaux1 modified the milestones: 2.3, 2.2 Feb 17, 2015
dnadeau4 added a commit that referenced this issue Aug 31, 2015
fix #959 
No error found in buildbot for the new code.  Seems to have pass the build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants