Skip to content

Commit b336ee3

Browse files
committed
Remove unread variable
1 parent 7c8cca0 commit b336ee3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pymc/step_methods/hmc/nuts.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ def _hamiltonian_step(self, start, p0, step_size):
210210
def competence(var, has_grad):
211211
"""Check how appropriate this class is for sampling a random variable."""
212212

213-
dist = getattr(var.owner, "op", None)
214213
if var.dtype in continuous_types and has_grad:
215214
return Competence.PREFERRED
216215
return Competence.INCOMPATIBLE

0 commit comments

Comments
 (0)