diff --git a/bob/measure/plot.py b/bob/measure/plot.py
index b3cccc24b901fd95ff694ecd5f61a76123a373e3..e103c028a95375e358c5f34e772a58ed8e862e0a 100644
--- a/bob/measure/plot.py
+++ b/bob/measure/plot.py
@@ -542,7 +542,6 @@ def detection_identification_curve(cmc_scores, far_values = log_values(), rank
# for each probe, for which no positives exists, get the highest negative score; and sort them to compute the FAR thresholds
negatives = sorted(max(neg) for neg,pos in cmc_scores if (pos is None or not numpy.array(pos).size) and neg is not None)
if not negatives:
- import ipdb; ipdb.set_trace()
raise ValueError("There need to be at least one pair with only negative scores")
# compute thresholds based on FAR values