Skip to content

Commit

Permalink
fix: use normal operators in decode
Browse files Browse the repository at this point in the history
  • Loading branch information
luisfbl committed Sep 13, 2024
1 parent e25a821 commit 7100784
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/entity/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ def __str__(self):


class Conjunction(Operator):
symbol = ''
symbol = '^'


class Disjunction(Operator):
symbol = ''
symbol = 'v'


class Conditional(Operator):
symbol = ''
symbol = '->'


class BiConditional(Operator):
symbol = ''
symbol = '<->'


class Negation(Base):
Expand All @@ -40,7 +40,7 @@ def __str__(self):
expr_str = f'({self.expr})' if isinstance(self.expr, Operator) or isinstance(self.expr, Negation) \
else str(self.expr)

return f'¬{expr_str}'
return f'~{expr_str}'


class Preposition(Base):
Expand Down

0 comments on commit 7100784

Please sign in to comment.