Skip to content

Commit f5f25dc

Browse files
committed
Debugging pytensor shape issue
1 parent 27e3325 commit f5f25dc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pymc_extras/statespace/core/statespace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ def _insert_random_variables(self):
741741

742742
replacement_dict = {var: pymc_model[name] for name, var in self._name_to_variable.items()}
743743
self.subbed_ssm = vectorize_graph(matrices, replace=replacement_dict)
744-
for name, matrix in zip(LONG_MATRIX_NAMES, self.subbed_ssm):
744+
for name, matrix in zip(MATRIX_NAMES, self.subbed_ssm):
745745
matrix.name = name
746746

747747
def _insert_data_variables(self):

pymc_extras/statespace/filters/distributions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,6 @@ def step(mu, cov, rng):
446446

447447
@_logprob.register(KalmanFilterRV)
448448
def sequence_mvnormal_logp(op, values, mus, covs, logp, rng, **kwargs):
449-
print(values[0].type.shape, mus.type.shape, covs.type.shape)
450449
return check_parameters(
451450
logp,
452451
pt.eq(values[0].shape[-2], mus.shape[-2]),

0 commit comments

Comments
 (0)