Branch: Tag:

2003-04-28

2003-04-28 12:32:00 by Johan Sundström <oyasumi@gmail.com>

Added a warning note about Array.flatten not terminating for cyclic
arrays.

Rev: lib/modules/Array.pmod:1.81

540:   }      //! Flatten a multi-dimensional array to a one-dimensional array. + //! @note + //! There is no safeguard against flattening a cyclic array; + //! trying to do so may result in an infinite loop.   array flatten(array a)   {    array ret=({});