From ffddc8854fcd5ad903f269f7a298035e8cb43c80 Mon Sep 17 00:00:00 2001 From: markus <markus.holzer@fau.de> Date: Mon, 4 May 2020 09:55:17 +0200 Subject: [PATCH] BugFix of the fas_subs function in rng nodes. --- pystencils/rng.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pystencils/rng.py b/pystencils/rng.py index 17eda9845..85bc7c1b1 100644 --- a/pystencils/rng.py +++ b/pystencils/rng.py @@ -61,7 +61,7 @@ class RNGBase(CustomCodeNode): result.update(loop_counters) return result - def fast_subs(self, _): + def fast_subs(self, *_): return self # nothing to replace inside this node - would destroy intermediate "dummy" by re-creating them def get_code(self, dialect, vector_instruction_set): -- GitLab