From 3af1b599cc2df441046cfa9ead3a007268899dde Mon Sep 17 00:00:00 2001 From: Ravin Kumar Date: Fri, 1 Apr 2022 20:35:12 -0700 Subject: [PATCH] Add call to super for make node --- pymc/distributions/timeseries.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pymc/distributions/timeseries.py b/pymc/distributions/timeseries.py index 892571a5e7..bf6addb900 100644 --- a/pymc/distributions/timeseries.py +++ b/pymc/distributions/timeseries.py @@ -54,6 +54,8 @@ def make_node(self, rng, size, dtype, mu, sigma, init, steps): if not steps.ndim == 0 or not steps.dtype.startswith("int"): raise ValueError("steps must be an integer scalar (ndim=0).") + return super().make_node(rng, size, dtype, mu, sigma, init, steps) + def _supp_shape_from_params(self, dist_params, reop_param_idx=0, param_shapes=None): steps = dist_params[3]