Skip to content

Commit 3c80327

Browse files
authored
Update fractional_cover_problem.py
1 parent cf108ba commit 3c80327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: greedy_methods/fractional_cover_problem.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Item:
88
weight: int
99
value: int
1010

11-
def not_really__eq__(self, other: object) -> bool:
11+
def __eq__(self, other: 'Item') -> bool:
1212
return self.weight == other.weight and self.value == other.value
1313

1414

0 commit comments

Comments
 (0)