Oh, yeah, good call.


On Sun, Aug 25, 2013 at 9:31 AM, Thomas Wiecki <notifications@github.com>wrote:

> In pymc/tests/test_model_func.py:
>
> > @@ -25,3 +25,12 @@ def test_dlogp2():
> >      d2logp = model.d2logpc()
> >
> >      close_to(d2logp(start), H, np.abs(H / 100.))
> > +
> > +
> > +def test_named():
> > +    with pm.Model() as model:
> > +        x = Normal('x', 0,1)
> > +        y = pm.named(x**2, 'y')
>
> I wonder if the order of the arguments shouldn't be reversed to match up
> with the syntax for random vars as in the line above -- pm.named('y',
> x**2).
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pymc-devs/pymc/pull/325/files#r5968864>
> .
>