Skip to content

Commit b6eaa88

Browse files
authored
Merge pull request #1 from cmohite/codex/find-and-fix-a-bug-in-codebase
Fix cold_days sorting
2 parents 4762b31 + 7323016 commit b6eaa88

File tree

1 file changed

+1
-1
lines changed
  • days/49-51-measuring-perf/demo/starter_csv_code

1 file changed

+1
-1
lines changed

days/49-51-measuring-perf/demo/starter_csv_code/research.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def hot_days() -> List[Record]:
5353

5454

5555
def cold_days() -> List[Record]:
56-
return sorted(data, key=lambda r: r.actual_max_temp)
56+
return sorted(data, key=lambda r: r.actual_min_temp)
5757

5858

5959
def wet_days() -> List[Record]:

0 commit comments

Comments
 (0)