More input fixes

This commit is contained in:
Mike Croucher 2015-02-27 17:50:48 +00:00
parent 4b7036bdb2
commit 7a9203be4d
2 changed files with 8 additions and 2 deletions

View file

@ -1 +1 @@
from hmc import HMC
from .hmc import HMC

View file

@ -9,7 +9,13 @@ import sys
import re
import numdifftools as ndt
import pdb
import cPickle
try:
#In Python 2, cPickle is faster. It does not exist in Python 3 but the underlying code is always used
#if available
import cPickle as pickle
except ImportError:
import pickle
class Metropolis_Hastings: