The following throws my clisp into an infinite loop:
(grid:MAKE-GRID '((gsl:marray 3 3) DOUBLE-FLOAT) :INITIAL-CONTENTS #(0.5d0 1.5d0 2.5d0 3.5d0 0.1d0 1.1d0 10.5d0 11.5d0 12.5d0 13.5d0 10.1d0 11.1d0 20.5d0 21.5d0 22.5d0 23.5d0 20.1d0 21.1d0))
Am I misusing make-grid, or is this a bug?
Thanks,
Mirko
In SBCL, this would give an error. Your example now works in both SBCL and my (old) version of CLISP. BTW, this is wrong in that there are too many elements in :initial-contents, anything beyond the 9th element (for a 3x3 matrix) is ignored.
Head: 0c21cd345f - Create marrays with grid:make-grid
On Wed, Feb 24, 2010 at 1:39 PM, Mirko Vukovic mirko.vukovic@gmail.com wrote:
The following throws my clisp into an infinite loop:
(grid:MAKE-GRID '((gsl:marray 3 3) DOUBLE-FLOAT) :INITIAL-CONTENTS #(0.5d0 1.5d0 2.5d0 3.5d0 0.1d0 1.1d0 10.5d0 11.5d0 12.5d0 13.5d0 10.1d0 11.1d0 20.5d0 21.5d0 22.5d0 23.5d0 20.1d0 21.1d0))
Am I misusing make-grid, or is this a bug?
Thanks,
Mirko
Gsll-devel mailing list Gsll-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel