Am 16.11.2014 um 17:36 schrieb Allin Cottrell:
What's the platform and gretl build data? Here's what I'm
seeing with
current CVS on Linux:
Originally it was Win 8.1 32bit with a not-so-old snapshot I think,
right now I re-tested on Win 7 64bit with the latest snapshot.
? matrix m2 = !m ? NA : m
Generated matrix m2
Warning: generated non-finite values
Here I'm getting the same (in German): "Warnung: erzeugte nichtendliche
Werte"
? print m2
m2 (4 x 4)
1 nan nan nan
nan 1 nan nan
nan nan 1 nan
nan nan nan 1
Probably irrelevant, but I'm getting decimal digits in the printout here:
m2 (4 x 4)
1.0000 nan nan nan
nan 1.0000 nan nan
nan nan 1.0000 nan
nan nan nan 1.0000
? matrix check = exp(m2)
Generated matrix check
Warning: generated non-finite values
And here I'm already getting a different message from (the German
version) above: "Warnung: exp: Domain error"
? matrix m3 = isnan(m2) ? 0 : exp(m2)
Generated matrix m3
And here in addition to the German translation ("Erzeugte Matrix m3")
I'm also getting again "Warnung: exp: Domain error"!
? print m3
m3 (4 x 4)
2.7183 0.0000 0.0000 0.0000
0.0000 2.7183 0.0000 0.0000
0.0000 0.0000 2.7183 0.0000
0.0000 0.0000 0.0000 2.7183
Yes, same result here.
thanks,
sven