Skip to content

Commit 9f9c395

Browse files
committed
Remove duplicate sample_except()
1 parent 9b31950 commit 9f9c395

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pymc3/step_methods/metropolis.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -880,13 +880,6 @@ def competence(var, has_grad):
880880
return Competence.COMPATIBLE
881881

882882

883-
def sample_except(limit, excluded):
884-
candidate = nr.choice(limit - 1)
885-
if candidate >= excluded:
886-
candidate += 1
887-
return candidate
888-
889-
890883
class MLDA(ArrayStepShared):
891884
"""
892885
Multi-Level Delayed Acceptance (MLDA) sampling step that uses coarse

0 commit comments

Comments
 (0)