Skip to content

Commit 669b824

Browse files
author
Christopher Fonnesbeck
committed
Reverted HMC
1 parent f43a0e4 commit 669b824

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pymc/step_methods/hmc.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ def __init__(self, vars, C, step_scale = .25, path_length = 2., is_cov = False,
4545

4646
self.step_size = step_scale / n**(1/4.)
4747

48-
if issparse(C):
49-
raise ValueError("Cannot use sparse matrix for scaling without scikits.sparse installed")
5048
self.potential = quad_potential(C, is_cov)
5149

5250
self.path_length = path_length

0 commit comments

Comments
 (0)