From 804e4d4bfb8cb4b0fd1812ff3c9aca724048b57f Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Mon, 28 Oct 2019 13:12:22 +0100
Subject: [PATCH] Oops, forgot a return in TextureCachedField.reproducible_hash

---
 pystencils/interpolation_astnodes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pystencils/interpolation_astnodes.py b/pystencils/interpolation_astnodes.py
index 50c467405..79e534b6e 100644
--- a/pystencils/interpolation_astnodes.py
+++ b/pystencils/interpolation_astnodes.py
@@ -358,7 +358,7 @@ class TextureCachedField:
 
     @property
     def reproducible_hash(self):
-        _hash(str(self._hashable_contents).encode()).hexdigest()
+        return _hash(str(self._hashable_contents).encode()).hexdigest()
 
 
 class TextureAccess(InterpolatorAccess):
-- 
GitLab