fix bug

double brackets needed to unname the value returned by logPrior