kern fix. All tests now pass

This commit is contained in:
Mike Croucher 2015-03-06 17:07:35 +00:00
parent f627c0b1cd
commit 028fa93d36
2 changed files with 6 additions and 6 deletions

View file

@ -329,9 +329,9 @@ class MRD(BayesianGPLVMMiniBatch):
def __getstate__(self):
state = super(MRD, self).__getstate__()
if state.has_key('kern'):
if 'kern' in state:
del state['kern']
if state.has_key('likelihood'):
if 'likelihood' in state:
del state['likelihood']
return state