Skip to content

Update surface_composite.py - #3189

Merged
paulromano merged 1 commit into
openmc-dev:developfrom
azimgivron:azimgivron-patch-surface_composite-inplace
Nov 9, 2024
Merged

paulromano merged 1 commit into
openmc-dev:developfrom
azimgivron:azimgivron-patch-surface_composite-inplace

Conversation

@azimgivron

@azimgivron azimgivron commented Nov 8, 2024 •

Copy link
Copy Markdown
Contributor

Description

It is a bug fix. I changed the line for the rotation of composite surfaces to enable inplace rotation. I copy pasted the line from translate for which inplace works fine.

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format (version 15) on any C++ source files (if applicable)
  • I have followed the style guidelines for Python source files (if applicable)
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

@shimwell

shimwell commented Nov 8, 2024

Copy link
Copy Markdown
Member

Nice, is it worth adding a test for this to prevent the bug returning

@paulromano paulromano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@paulromano
paulromano merged commit 70807b1 into openmc-dev:develop Nov 9, 2024
@azimgivron

azimgivron commented Nov 15, 2024 •

Copy link
Copy Markdown
Contributor Author

Nice, is it worth adding a test for this to prevent the bug returning

@shimwell should I create a separate PR with the test? I haven’t had a chance to write it yet, but I can work on it next week.

magnoxemo pushed a commit to magnoxemo/openmc that referenced this pull request Nov 22, 2024
@azimgivron
azimgivron deleted the azimgivron-patch-surface_composite-inplace branch July 23, 2025 15:48
apingegno pushed a commit to apingegno/openmc that referenced this pull request May 7, 2026
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.

3 participants