On 02/05/2024 11:57, Sven Schreiber wrote:
Am 02.05.2024 um 11:51 schrieb Riccardo (Jack) Lucchetti:
Well, I thought so, too. However, even inside a function there seems
to
be a problem. Test case: [...]
I managed to track down the problem somehow. It looks as if operator
precedence might be the issue:
<hansl>
nulldata 16
y = uniform()
x = y/y(-1)-1
list l = y
loop foreach i l
right$i = (l.$i/l.$i(-1))-1
wrong$i = l.$i/l.$i(-1)-1
endloop
print y x righty wrongy --byobs
</hansl>
I guess that once this (and another issue the development team is aware,
relative to the windows version) is fixed we should go for an emergency
release, shouldn't we?
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------