make_random_state broken for Maxima installed with Ecl



Oliver Kullmann wrote:
> Hi,
> 
> Maxima 5.16.3 http://maxima.sourceforge.net
> Using Lisp ECL 0.9l (CVS 2008-06-19 17:09)
> Distributed under the GNU Public License. See the file COPYING.
> Dedicated to the memory of William Schelter.
> The function bug_report() provides bug reporting information.
> (%i1) make_random_state(0)$
> Maxima encountered a Lisp error:
> 
>  The value of MT19937::SEED is 0, which is not of type (INTEGER 1 4294967295).
> 
> Automatically continuing.
> To reenable the Lisp debugger set *debugger-hook* to nil.
> 
> according to the documentation, 0 is a valid argument for make_random_state?

This is probably due to a incorrect declaration in int-init-random-state.

As best as I can tell, 0 should be ok as the initialization seed; the 
random state isn't all zeroes and looks reasonably mixed if 0 would have 
been allowed.

Ray