mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Apply suggestions from @eepeterson
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
This commit is contained in:
parent
a86c472095
commit
faa142c78d
1 changed files with 1 additions and 1 deletions
|
|
@ -525,7 +525,7 @@ def wwinp_to_wws(path):
|
|||
intervals = grid_vals.reshape(-1, 3)
|
||||
coords = [grid0]
|
||||
for sx, px, qx in intervals:
|
||||
coords += list(np.linspace(coords[-1], px, int(sx + 1)))[1:]
|
||||
coords += np.linspace(coords[-1], px, int(sx + 1)).tolist()[1:]
|
||||
|
||||
grids.append(np.array(coords))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue