Re: guile arrays in 1.9

2010-01-09 Thread Andy Wingo
Hi, On Fri 08 Jan 2010 18:41, Daniel Llorens del Río daniel.llor...@bluewin.ch writes: On 7 Jan, 2010, at 17:29, Andy Wingo wrote: Could be that the tests are running only with the interpreter, and the bugs that you're seeing only appear when an array is attempted to be serialized out to

Re: guile arrays in 1.9

2010-01-08 Thread Daniel Llorens del Río
On 7 Jan, 2010, at 17:29, Andy Wingo wrote: Could be that the tests are running only with the interpreter, and the bugs that you're seeing only appear when an array is attempted to be serialized out to object code. Mm, I don't know how to debug that… You are :-)) Just so… :) More. In

guile arrays in 1.9

2010-01-07 Thread Daniel Llorens del Río
Hello, array-list is broken in 1.9.6: scheme@(guile-user) (array-list #(0 1)) ERROR: Value out of range: -1 Patch for libguile/generalized-arrays.c: 246c246 size_t i, lbnd; --- ssize_t i, lbnd; 251c251 pos += (i - h-dims[dim].ubnd) * inc; --- pos += (i - lbnd) *

Re: guile arrays in 1.9

2010-01-07 Thread Andy Wingo
Hi, On Thu 07 Jan 2010 16:13, Daniel Llorens del Río daniel.llor...@bluewin.ch writes: array-list is broken in 1.9.6: Ooh, I'm definitely the guilty one here. I cleaned up this code, with predictable consequences. scheme@(guile-user) (array-list #(0 1)) ERROR: Value out of range: -1 Just