Exception fixes for Python 3 compat

This commit is contained in:
Mike Croucher 2015-02-26 13:33:39 +00:00
parent 70c8f4a410
commit c4fb58176d
8 changed files with 25 additions and 25 deletions

View file

@ -48,7 +48,7 @@ class SparseGP(GP):
inference_method = var_dtc.VarDTC(limit=1 if not self.missing_data else Y.shape[1])
else:
#inference_method = ??
raise NotImplementedError, "what to do what to do?"
raise NotImplementedError("what to do what to do?")
print("defaulting to ", inference_method, "for latent function inference")
self.Z = Param('inducing inputs', Z)