changeset 384 | 6e1237691307 |
parent 349 | 682611a0fb89 |
child 400 | e48ea8300b2d |
--- a/main_solution2/danube.scala Mon Dec 07 01:25:41 2020 +0000 +++ b/main_solution2/danube.scala Fri Jan 15 02:40:57 2021 +0000 @@ -42,7 +42,7 @@ def process_ratings(lines: List[String]) : List[(String, String)] = { for (cols <- lines.map(_.split(",").toList); - if (cols(2).toFloat >= 4)) yield (cols(0), cols(1)) + if (cols(2).toInt >= 4)) yield (cols(0), cols(1)) } def process_movies(lines: List[String]) : List[(String, String)] = {