Skip to content

Follow-up – Allow flushing before defining position and positionOffset components of particle species#519

Merged
ax3l merged 1 commit intoopenPMD:devfrom
franzpoeschel:fix-position-positionOffset
Jun 6, 2019
Merged

Follow-up – Allow flushing before defining position and positionOffset components of particle species#519
ax3l merged 1 commit intoopenPMD:devfrom
franzpoeschel:fix-position-positionOffset

Conversation

@franzpoeschel
Copy link
Contributor

Pull request #518 contains a little bug, the unit dimensions need to be set before flushing.

{
iterator it = find("position");
if ( it != end() )
{
Copy link
Member

@ax3l ax3l Jun 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can actually spare the {} for a single following line :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to admit that I don't like that style that much, but since it's part of the 20 commandments, I will comply ;)

@franzpoeschel franzpoeschel force-pushed the fix-position-positionOffset branch from bd6500d to befeda2 Compare June 6, 2019 18:46
@ax3l ax3l merged commit 5b9eef3 into openPMD:dev Jun 6, 2019
@franzpoeschel franzpoeschel deleted the fix-position-positionOffset branch January 28, 2021 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants