pleasing python2

This commit is contained in:
guillaume 2017-08-06 15:00:38 -04:00
parent a766aa33f8
commit fa07ddb857

View file

@ -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])