Skip to content

Commit

Permalink
remove custom for _NegBoolView
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnaceBleukx committed Aug 31, 2023
1 parent 17a2993 commit c4901ef
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cpmpy/expressions/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,11 +358,6 @@ def clear(self):
"""
self._bv.clear()

def __str__(self):
if hasattr(self._bv, "desc"):
return f"not({self._bv.desc})"
return self.__repr__()

def __repr__(self):
return "~{}".format(self._bv.name)

Expand Down

0 comments on commit c4901ef

Please sign in to comment.