Skip to content

Commit

Permalink
Fix: issue #64
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhorcas committed Aug 7, 2024
1 parent 073dc0f commit 43df87e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def execute(self, model: VariabilityModel) -> 'PySATSatisfiableConfiguration':
assumptions = []
for feature in sat_model.features.values():

if feature in self.configuration.elements.keys():
if self.configuration.elements.get(feature, False):
assumptions.append(sat_model.variables[feature])
else:
assumptions.append(-sat_model.variables[feature])
Expand Down

0 comments on commit 43df87e

Please sign in to comment.