Closed pancpp closed 1 year ago
When use HLObject as elements of a set, error shows that the HLObject is unhashable. Need to add a hash function to return an integer hash value to be used by a set.
HLObject
set
class HLObject(...): ... def __hash__(self): return ... ...
Code in master is updated.
When use
HLObject
as elements of aset
, error shows that theHLObject
is unhashable. Need to add a hash function to return an integer hash value to be used by aset
.