From 8e86daae9d8dbcd76e48aa54bb85f773a7cdaaf8 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Wed, 9 Mar 2022 16:53:02 +0000 Subject: [PATCH] Missing return --- opendm/gpu.py | 1 + 1 file changed, 1 insertion(+) diff --git a/opendm/gpu.py b/opendm/gpu.py index 6a5b64df..97b2e02d 100644 --- a/opendm/gpu.py +++ b/opendm/gpu.py @@ -20,6 +20,7 @@ def has_popsift_and_can_handle_texsize(width, height): return False except Exception as e: log.ODM_WARNING("Cannot use GPU for feature extraction: %s" % str(e)) + return False try: from opensfm import pypopsift