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

Missing copy of fileobj in interpolator_type_eq #1286

Closed
mlee03 opened this issue Jul 17, 2023 · 2 comments · Fixed by #1287
Closed

Missing copy of fileobj in interpolator_type_eq #1286

mlee03 opened this issue Jul 17, 2023 · 2 comments · Fixed by #1287

Comments

@mlee03
Copy link
Contributor

mlee03 commented Jul 17, 2023

Describe the bug
In interpolator_mod, fileobj is part of the derived-type interpolate_type. In the subroutine interpolate_type_eq, where In is an instance of interpolate_type and Out is an another instance of interpolate_type, all components of In gets copied over to Out with the exception of fileobj.

In%fileobj should also get copied over to Out%fileobj. Without this copy, interpolation fails with interpolate_type Out.

@thomas-robinson
Copy link
Member

Can you link code examples here so we can see what's actually going on and where?

@mlee03
Copy link
Contributor Author

mlee03 commented Aug 3, 2023

@thomas-robinson, done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants