From 757666c6f997de784200a7aa3790c362e83a3a54 Mon Sep 17 00:00:00 2001
From: Manuel Guenther <manuel.guenther@idiap.ch>
Date: Mon, 29 Jun 2015 13:16:06 +0200
Subject: [PATCH] Fixed issue with parallelized ZT-norm

---
 bob/bio/base/tools/scoring.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/bob/bio/base/tools/scoring.py b/bob/bio/base/tools/scoring.py
index 9f04846a..dd2300c5 100644
--- a/bob/bio/base/tools/scoring.py
+++ b/bob/bio/base/tools/scoring.py
@@ -258,7 +258,7 @@ def compute_scores(algorithm, compute_zt_norm, force = False, indices = None, gr
     if compute_zt_norm:
       t_model_ids = fs.t_model_ids(group)
       if indices != None:
-        t_model_ids_short = t_model_ids[indices[0]:indices[1]]
+        t_model_ids = t_model_ids[indices[0]:indices[1]]
 
     # compute A scores
     if 'A' in types:
@@ -271,7 +271,6 @@ def compute_scores(algorithm, compute_zt_norm, force = False, indices = None, gr
 
       # compute C scores
       if 'C' in types:
-        t_model_ids_short = t_model_ids
         _scores_c(algorithm, t_model_ids, group, force)
 
       # compute D scores
-- 
GitLab