diff --git a/src/geouned/GEOUNED/conversion/cell_definition.py b/src/geouned/GEOUNED/conversion/cell_definition.py index 10b07d20..2ecc73cd 100644 --- a/src/geouned/GEOUNED/conversion/cell_definition.py +++ b/src/geouned/GEOUNED/conversion/cell_definition.py @@ -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 = [] @@ -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)