Ops.prior function

Implementation of the '==' operator for priors