all tests either notimplemented or known to fail

This commit is contained in:
Max Zwiessele 2014-03-18 17:48:09 +00:00
parent 6637eb7ac8
commit a307d528ef
3 changed files with 4 additions and 4 deletions

View file

@ -781,8 +781,8 @@ class Parameterizable(OptimizationHandlable):
if param in self._parameters_ and index is not None: if param in self._parameters_ and index is not None:
self.remove_parameter(param) self.remove_parameter(param)
self.add_parameter(param, index) self.add_parameter(param, index)
elif param.has_parent(): #elif param.has_parent():
raise HierarchyError, "parameter {} already in another model ({}), create new object (or copy) for adding".format(param._short(), param._highest_parent_._short()) # raise HierarchyError, "parameter {} already in another model ({}), create new object (or copy) for adding".format(param._short(), param._highest_parent_._short())
elif param not in self._parameters_: elif param not in self._parameters_:
if param.has_parent(): if param.has_parent():
parent = param._parent_ parent = param._parent_

View file

@ -43,8 +43,8 @@ class StudentT(Likelihood):
Pull out the gradients, be careful as the order must match the order Pull out the gradients, be careful as the order must match the order
in which the parameters are added in which the parameters are added
""" """
self.sigma2.gradient = derivatives[0] self.sigma2.gradient = grads[0]
self.v.gradient = derivatives[1] self.v.gradient = grads[1]
def pdf_link(self, link_f, y, Y_metadata=None): def pdf_link(self, link_f, y, Y_metadata=None):
""" """