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

declaring a field as float, initialdata: False when it is int in input breaks new() #227

Closed
gdementen opened this Issue Nov 22, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@gdementen
Member

gdementen commented Nov 22, 2016

bug found in DYNAPOR
regression in 0.11
testcase.zip

@gdementen gdementen added the bug label Nov 22, 2016

@gdementen

This comment has been minimized.

Member

gdementen commented Nov 22, 2016

ERROR: cannot convert float NaN to integer

@ruiznicola

This comment has been minimized.

ruiznicola commented Nov 24, 2016

Thanks!

@gdementen gdementen added this to the 0.12 milestone Jan 19, 2018

@gdementen gdementen closed this in 2655600 Jan 19, 2018

gdementen added a commit that referenced this issue Jan 25, 2018

fixed #227: fields declared as initialdata: False loaded data anyway
if a field with the same name existed in the corresponding table.
Additionally, those fields used the type from the input table instead of the one declared (if different).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment