Hi all,<br><br>In the following, everything after the \in is highlighted grey as if it were a comment.<br><br>Thanks for all the good work!<br><br>Anand Patil<br><br><br><br>def half_normal_like(x, tau):
<br> r"""
<br> half_normal_like(x, tau)<br><br> Half-normal log-likelihood, a normal distribution with mean 0 and limited<br> to the domain :math:`x \in [0, \Infty)`.<br><br> .. math::<br> f(x \mid \tau) = \sqrt{\frac{2\tau}{\pi}}\exp
<div>\left\{ {\frac{-x^2 \tau}{2}}\right\}
<br><br> :Parameters:<br> x : float<br> :math:`x \ge 0`<br> tau : float<br> :math:`\tau > 0`<br><br> """<br> # try:<br> # constrain(tau, lower=0)<br> # constrain(x, lower=0, allow_equal=True)
<br> # except ZeroProbability:<br> # return -Inf<br> return flib.hnormal(x, tau)<br></div>