mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
pleasing python2
This commit is contained in:
parent
a766aa33f8
commit
fa07ddb857
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ class SurfaceTallyTestHarness(PyAPITestHarness):
|
|||
|
||||
# Create partial current tallies from fuel to water
|
||||
# Filters
|
||||
two_groups = np.array([0., 4, 20.]) * 1e6
|
||||
two_groups = [0., 4e6, 20e6]
|
||||
energy_filter = openmc.EnergyFilter(two_groups)
|
||||
polar_filter = openmc.PolarFilter([0, np.pi / 4, np.pi])
|
||||
azimuthal_filter = openmc.AzimuthalFilter([0, np.pi / 4, np.pi])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue