On Wed, 12 Jul 2023, Artur T. wrote:
Hi,
Given Allin's announcement that a new version will be released soon, I ran
the test scripts.
1. For the following script the assertion failed on the latest git-version:
https://sourceforge.net/p/gretl/workspace/ci/master/tree/tests/test_scrip...
I am pretty sure that I've never seen it failing before.
It's the "sumc" function, which fails for complex arguments. Try this:
<hansl>
set seed 39879
X = mnormal(3,3)
l = eigen(X)
print l
eval sumc(diag(X))
eval sumc(l)
</hansl>
which gives
<output>
? print l
l (3 x 1)
-1.19391 + 0.00000i
0.73406 + 0.96306i
0.73406 - 0.96306i
? eval sumc(diag(X))
0.27420
? eval sumc(l)
1.27420 + 0.00000i
</output>
I guess this must be related to the new "skip_na" optional flag, but I
have no time to check this morning, sorry.
-------------------------------------------------------
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
-------------------------------------------------------