The symptom was that
9!:1 (9!:0) ''
did not work right, even though
9!:1 ] (9!:0) ''
did. The error was in the sequence
fa(jt->rngseed); ra(jt->rngseed=w);
which frees the old seed-vector and saves the new one - EXCEPT when the
two buffers are the same, as in the sentence in question. Solution: ra
first, then fa.
Why did it work with ]? Because jtright2 does ra(tpush(w)). Does it
really need to do that?
Henry
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm