Skip to content

Commit

Permalink
Add call to super for make node
Browse files Browse the repository at this point in the history
  • Loading branch information
canyon289 committed Apr 3, 2022
1 parent 18362fa commit 3af1b59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pymc/distributions/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 3af1b59

Please sign in to comment.