Re: [Rd] stack imbalance in max.col for non-real matrices

2013-04-19 Thread Martin Morgan
On 04/19/2013 01:16 AM, Prof Brian Ripley wrote: On 17/04/2013 21:25, Michael Lawrence wrote: It's tough to reliably reproduce, but I often get stack imbalance warnings when calling max.col() on non-real/double matrix. The code is conditionally PROTECTing but not incrementing its nprot counter f

Re: [Rd] stack imbalance in max.col for non-real matrices

2013-04-19 Thread Prof Brian Ripley
On 17/04/2013 21:25, Michael Lawrence wrote: It's tough to reliably reproduce, but I often get stack imbalance warnings when calling max.col() on non-real/double matrix. The code is conditionally PROTECTing but not incrementing its nprot counter for the eventual UNPROTECT. Pretty sure this would