Skip to content

Commit 60d5b76

Browse files
authored
Lose __eq__()
1 parent a81fa7b commit 60d5b76

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: greedy_methods/fractional_cover_problem.py

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ class Item:
88
weight: int
99
value: int
1010

11-
def __eq__(self, other: "Item") -> bool:
12-
return self.weight == other.weight and self.value == other.value
13-
1411

1512
def fractional_cover(items: list[Item], capacity: int) -> float:
1613
"""

0 commit comments

Comments
 (0)