We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c0858d commit dcfe518Copy full SHA for dcfe518
code/hmc/test_hmc.py
@@ -6,7 +6,7 @@
6
7
try:
8
from hmc import HMC_sampler
9
-except:
+except ImportError as e:
10
# python 3 compatibility
11
# http://stackoverflow.com/questions/3073259/python-nose-import-error
12
from hmc.hmc import HMC_sampler
0 commit comments