Apply suggestions from @paulromano

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Patrick Shriwise 2022-03-15 18:53:42 -05:00 committed by GitHub
parent def829ad76
commit 2eab6fd335
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -460,7 +460,7 @@ def wwinp_to_wws(path):
# create generator for getting the next parameter from the file
wwinp = _wwinp_reader(path)
# first parameter, if, of wwinp file is unused
# first parameter, 'if' (file type), of wwinp file is unused
next(wwinp)
# check time parameter, iv
@ -569,7 +569,7 @@ def wwinp_to_wws(path):
# it is implied that zero is always the first bound in MCNP
e_bounds = np.asarray([0.0] + [float(next(wwinp)) for _ in range(ne)])
# adjust energy from MeV to eV
e_bounds *= 1E6
e_bounds *= 1e6
# create an array for weight window lower bounds
ww_lb = np.zeros((*mesh.dimension, ne))