Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
psauvan committed Dec 17, 2024
1 parent 0b3a087 commit 4544c35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/geouned/GEOUNED/conversion/cell_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ def cellDef(meta_obj, surfaces, universe_box, options, tolerances, numeric_forma
del_list = []

piece_def = BoolSequence(operator="OR")
iece_obj = []
piece_obj = []
cones = set()
for isol, solid in enumerate(solids):
surf_piece = []
Expand Down Expand Up @@ -762,14 +762,14 @@ def cellDef(meta_obj, surfaces, universe_box, options, tolerances, numeric_forma

if surf_piece_bool.elements:
piece_def.append(surf_piece_bool)
iece_obj.append(surf_obj)
piece_obj.append(surf_obj)
else:
del_list.append(isol)

for isol in reversed(del_list):
del meta_obj.Solids[isol]
meta_obj.set_definition(piece_def)
meta_obj.set_faces(iece_obj)
meta_obj.set_faces(piece_obj)
return tuple(cones)


Expand Down

0 comments on commit 4544c35

Please sign in to comment.