Trying to use a prior distribution inside a logarithm

This should work - what is the data type of x?