Skip to content

Commit

Permalink
update boolean surface class
Browse files Browse the repository at this point in the history
  • Loading branch information
psauvan committed Jul 1, 2024
1 parent 9fca96b commit 1ad4ebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geouned/GEOUNED/utils/boolean_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __init__(self, label: int, s1: int = None, s2: int = None, op: str = None, a

self.s2 = s2
self.op = op
self.aux = False
self.aux = aux
self.bool = False

if self.s2 is not None:
Expand Down Expand Up @@ -317,7 +317,7 @@ def simplify_sequence(self, CT=None):
newNames = surf_names
for val_name in surf_names:
if val_name in newNames:
if CT is None or val_name.aux:
if CT is None:
true_set = {val_name: True}
false_set = {val_name: False}
else:
Expand Down

0 comments on commit 1ad4ebf

Please sign in to comment.