Skip to content

Commit

Permalink
Improved example [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Jul 16, 2024
1 parent 3652473 commit 4fa232b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/disco/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fn load_movielens(path: &Path) -> Dataset<i32, String> {
let row = record.unwrap();
data.push(
row[0].parse::<i32>().unwrap(),
movies.get(&row[1].to_string()).unwrap().to_string(),
movies.get(&row[1]).unwrap().to_string(),
row[2].parse().unwrap(),
);
}
Expand Down

0 comments on commit 4fa232b

Please sign in to comment.