}
public DblParamSet negLogPrior()
{
//DblParamSet OUT = this.getParam;
DblParamSet OUT = super.negLogPrior();
if (OUT.size() == 0)
{
throw new RuntimeException("Output of negLogPrior has zero parameters.");
}
if (DblMatrix.test(DblMatrix.Any(DblMatrix.isNaN(OUT.toDblVector()))))
{
throw new RuntimeException("NaN detected in negLogPrior");
}
//OUT.show("output of negLogPrior");