Branch: Tag:

2002-10-15

2002-10-15 23:59:40 by Martin Nilsson <mani@lysator.liu.se>

Fixed a border problem in Array.sum

Rev: lib/modules/Array.pmod:1.76

548:   //! Sum the elements of an array using `+   mixed sum(array a)   { +  if(a==({})) return 0;   // 1000 is a safe stack limit    if (sizeof(a)<1000)    return `+(@a);