From 71368843d0393ee8691f9968d4430a53fd005ba3 Mon Sep 17 00:00:00 2001
From: Martin Larralde <martin.larralde@embl.de>
Date: Thu, 10 Aug 2023 11:17:59 +0200
Subject: [PATCH] Update code example in `README.md`

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index a25ed9f..865b2ac 100644
--- a/README.md
+++ b/README.md
@@ -76,7 +76,7 @@ assert_eq!(scores[0], -23.07094);
 assert_eq!(v[0], -23.07094);
 
 // The highest scoring position can be searched with a pipeline as well.
-let best = pli.best_position(&scores).unwrap();
+let best = pli.argmax(&scores).unwrap();
 assert_eq!(best, 18);
 
 ```
-- 
GitLab