From 272379bbbcf906c6ac9a8ebee45f5073a97b1bd2 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Wed, 15 Jul 2020 17:10:52 +0200
Subject: [PATCH] [script.significance] Fix typo

---
 bob/ip/binseg/script/significance.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bob/ip/binseg/script/significance.py b/bob/ip/binseg/script/significance.py
index 1e4d5e8e..1dd98283 100755
--- a/bob/ip/binseg/script/significance.py
+++ b/bob/ip/binseg/script/significance.py
@@ -137,7 +137,7 @@ def _eval_patches(
             f"'{system_name}' using {steps} steps"
         )
         threshold = run_evaluation(
-            dataset[threshold], threshold, predictions[0], steps=steps
+            dataset[threshold], threshold, preddir, steps=steps
         )
         logger.info(f"Set --threshold={threshold:.5f} for '{system_name}'")
 
-- 
GitLab