Raymond Toy pushed to branch rtoy-xoro-default at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • src/code/rand-xoroshiro.lisp
    ... ... @@ -85,7 +85,7 @@
    85 85
     		 (aref state 1) (make-double s1))
    
    86 86
     	   state))))
    
    87 87
     
    
    88
    -(defun vec-init-xoro-state (key &optional state)
    
    88
    +(defun vec-init-xoro-state (key &optional (state (make-array 2 :element-type 'double-float)))
    
    89 89
       (declare (type (array (unsigned-byte 64) (2)) key)
    
    90 90
     	   (type (simple-array double-float (2)) state))
    
    91 91
       (flet ((make-double (x)