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

phio_writeheader and phio_writedatablock datatypes need to agree #19

Open
cwsmith opened this issue Apr 24, 2017 · 0 comments
Open

phio_writeheader and phio_writedatablock datatypes need to agree #19

cwsmith opened this issue Apr 24, 2017 · 0 comments
Assignees

Comments

@cwsmith
Copy link
Contributor

cwsmith commented Apr 24, 2017

The user can call phio_writeheader and phio_writedatablock with different data types (double vs int) without an error being reported. When syncio is being used, this results in fatal memory errors.

Add some state to phio or the underlying methods to ensure that a sequence of writeheader writedatablock is using the same datatype. A hard failure/error upon detection of a mismatch is OK.

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

2 participants