Skip to content

Commit 5ec2041

Browse files
committed
Remove unnecessary call to inputvars in SMC_KERNEL
1 parent f80e45c commit 5ec2041

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pymc/smc/kernels.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
from pymc.aesaraf import (
2929
compile_pymc,
3030
floatX,
31-
inputvars,
3231
join_nonshared_inputs,
3332
make_shared_replacements,
3433
)
@@ -160,7 +159,7 @@ def __init__(
160159
self.rng = np.random.default_rng(seed=random_seed)
161160

162161
self.model = modelcontext(model)
163-
self.variables = inputvars(self.model.value_vars)
162+
self.variables = self.model.value_vars
164163

165164
self.var_info = {}
166165
self.tempered_posterior = None

0 commit comments

Comments
 (0)