We can say that the next release of gretl is so important that Jack and Allin get in the same room to work on it! ;)

I just wanted to say that this small script is a good candidate for a Regression Test (software speaking). I have confirmed the crash and the fix.

It would be very useful if we all collect a set of scripts to do Regression Tests whenever a new build is done.

Hélio



On Wed, Apr 30, 2014 at 12:32 PM, Riccardo (Jack) Lucchetti <r.lucchetti@univpm.it> wrote:
On Wed, 30 Apr 2014, Ignacio Diaz-Emparanza wrote:

the last line in this script makes gretl to crash: (gretl from today CVS on Ubuntu Linux 12.04)

<hansl>
nulldata 8
series vari= { 1; 2; 3; 4; 5; 6; 7; 8}
series w = { 1; 1; 1; 1; 2; 2; 2; 2 }
summary vari --weight=w
</hansl>

Thanks, Ignacio: this is now fixed in CVS.

The crash was related to the fact that, with so few datapoints, the 5% and 95% percentiles are effectively undefined, and this was unhandled (my fault). Fun fact: this is one of the few fixes that was physically coded jointly by Allin and myself, cause we happen to be in the same room at the moment! :)


-------------------------------------------------------
  Riccardo (Jack) Lucchetti
  Dipartimento di Scienze Economiche e Sociali (DiSES)

  Università Politecnica delle Marche
  (formerly known as Università di Ancona)

  r.lucchetti@univpm.it
  http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------
_______________________________________________
Gretl-devel mailing list
Gretl-devel@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel