On Thu, 25 Oct 2018, Sven Schreiber wrote:
Am 25.10.2018 um 08:38 schrieb oleg_komashko(a)ukr.net:
> series sin = normal()
> series y = sin(1)
> # y is described as lag of 'sin'
Good catch, this is the bug.
Agreed. That bug is now fixed in git.
> # but
> # i.e. y is a constant series, its values are equal to sin(1)
This is expected I'd say.
Yes, it should be expected. Built-in functions always have
precedence in the context of "somename(...".
BTW, here's something else:
series y = normal()
series y = y[-1]
...gives NAs (note the square brackets, on purpose). I think it should give
Agreed again. That now produces an error in git.