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

Ensure that the base class also gets to serialize its data. #1817

Merged
merged 1 commit into from Jun 22, 2017

Conversation

bangerth
Copy link
Contributor

The current implementation of the various serialization functions of particle output
classes have a comment that says that we ought to call the serialization function
of the base class -- but then they all do not actually do so. Fix this.

It doesn't current make any difference since the base class has nothing to serialize.
But it may acquire some data at some point in the future, and this patch prevents
the bug that would then become apparent.

The current implementation of the various serialization functions of particle output
classes have a comment that says that we ought to call the serialization function
of the base class -- but then they all do not actually do so. Fix this.

It doesn't current make any difference since the base class has nothing to serialize.
But it may acquire some data at some point in the future, and this patch prevents
the bug that would then become apparent.
@gassmoeller
Copy link
Member

Makes sense.

@gassmoeller gassmoeller merged commit 63d5172 into geodynamics:master Jun 22, 2017
@bangerth bangerth deleted the fix-serialization branch June 23, 2017 01:30
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 this pull request may close these issues.

None yet

2 participants