From fa782b82d1f5edeb74fc51f3aa8c2bbf7313d8fd Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Thu, 23 Jan 2020 12:58:03 +0100
Subject: [PATCH] Make problems in textures hard errors

---
 pystencils/transformations.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pystencils/transformations.py b/pystencils/transformations.py
index 3b9b59ad0..e48d4f386 100644
--- a/pystencils/transformations.py
+++ b/pystencils/transformations.py
@@ -1344,8 +1344,8 @@ def implement_interpolations(ast_node: ast.Node,
                 else:
                     i.symbol.interpolator.filter_mode = cuda.filter_mode.POINT
                     i.symbol.interpolator.read_as_integer = True
-            except Exception:
-                pass
+            except Exception as e:
+                raise e
             ast_node.subs({old_i: i})
 
     # from pystencils.math_optimizations import ReplaceOptim, optimize_ast
-- 
GitLab