Skip to content

Commit

Permalink
OWLDatatypeRestriction has also updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Demirrr committed Nov 8, 2024
1 parent f0c5592 commit aa99ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion owlapy/class_expression/restriction.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ def __eq__(self, other):
else:
return False
def __hash__(self):
return hash((self._type, self._facet_restrictions))
return hash(("OWLDatatypeRestriction", self._type, self._facet_restrictions))

def __repr__(self):
return f'OWLDatatypeRestriction({repr(self._type)}, {repr(self._facet_restrictions)})'
Expand Down

0 comments on commit aa99ec6

Please sign in to comment.