We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf108ba commit 3c80327Copy full SHA for 3c80327
greedy_methods/fractional_cover_problem.py
@@ -8,7 +8,7 @@ class Item:
8
weight: int
9
value: int
10
11
- def not_really__eq__(self, other: object) -> bool:
+ def __eq__(self, other: 'Item') -> bool:
12
return self.weight == other.weight and self.value == other.value
13
14
0 commit comments