From 775af279324ca2c0451d54605caaddf813d68078 Mon Sep 17 00:00:00 2001 From: Ryuichiro Toyoshi Date: Sun, 6 Dec 2020 00:26:23 +0900 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1657d03..7c7f4d7 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Example: team2 = [Rating.new(22.0, 0.98, 0.8), Rating.new(31.1, 5.33, 0.9)] # team 1 finished first and team 2 second - graph = FactorGraph.new(team1 => 1, team2 => 2) + graph = FactorGraph.new([team1, team2], [1, 2]) # update the Ratings graph.update_skills