From 1622ecabb014d21755f662eaec231b9d5f3e5fa1 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Wed, 12 Sep 2018 15:51:16 +0200 Subject: [PATCH] Fix the broken if logic in ImageQualityMeasure --- bob/pad/face/extractor/ImageQualityMeasure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bob/pad/face/extractor/ImageQualityMeasure.py b/bob/pad/face/extractor/ImageQualityMeasure.py index 3a6bc2c0..5be49bb7 100644 --- a/bob/pad/face/extractor/ImageQualityMeasure.py +++ b/bob/pad/face/extractor/ImageQualityMeasure.py @@ -99,7 +99,7 @@ class ImageQualityMeasure(Extractor): return None - elif self.dtype is not None: + if self.dtype is not None: features = features.astype(self.dtype) -- GitLab