diff --git a/pystencils/rng.py b/pystencils/rng.py
index 17eda9845878a6421512bb2f8f60dd2f9bee61df..85bc7c1b16e3f30bfdf23b6036e2e5849ccfc85a 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):