mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Apply @pshriwise suggestions from code review
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
This commit is contained in:
parent
8e4ce676ff
commit
dc7851dda2
1 changed files with 2 additions and 2 deletions
|
|
@ -291,10 +291,10 @@ class WeightWindows(IDManagerMixin):
|
|||
subelement.text = ' '.join(str(e) for e in self.energy_bounds)
|
||||
|
||||
subelement = ET.SubElement(element, 'lower_ww_bounds')
|
||||
subelement.text = ' '.join(str(b) for b in self.lower_ww_bounds.ravel())
|
||||
subelement.text = ' '.join(str(b) for b in self.lower_ww_bounds.ravel('F'))
|
||||
|
||||
subelement = ET.SubElement(element, 'upper_ww_bounds')
|
||||
subelement.text = ' '.join(str(b) for b in self.upper_ww_bounds.ravel())
|
||||
subelement.text = ' '.join(str(b) for b in self.upper_ww_bounds.ravel('F'))
|
||||
|
||||
subelement = ET.SubElement(element, 'survival_ratio')
|
||||
subelement.text = str(self.survival_ratio)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue