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

Add inplace option for Region.translate #2129

Merged
merged 2 commits into from Jul 28, 2022

Conversation

paulromano
Copy link
Contributor

A user pointed out that one can call Region.rotate with an inplace argument but the same is not true for Region.translate. This PR adds the inplace argument to translate and a quick test to confirm that it works as intended.

I also put an unrelated two-line fix for #907.

Copy link
Contributor

@eepeterson eepeterson left a comment

Choose a reason for hiding this comment

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

LGTM - thanks @paulromano

@eepeterson eepeterson merged commit 73df95e into openmc-dev:develop Jul 28, 2022
@paulromano paulromano deleted the translate-inplace branch July 28, 2022 19:16
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