mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Reverted to set notation in Geometry.get_all_material_cells() now that __hash__ is implemented everywhere
This commit is contained in:
parent
f09ec9582b
commit
d26a86f5f1
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ class Geometry(object):
|
|||
if cell._type == 'normal':
|
||||
material_cells.add(cell)
|
||||
|
||||
material_cells = list(set(material_cells))
|
||||
material_cells = list(material_cells)
|
||||
material_cells.sort(key=lambda x: x.id)
|
||||
return material_cells
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue