Hi,

Lately, I've been playing around a bit with GSL and slicing etc using GSD. I
found that grid:row and grid:column don't work as expected:

(defparameter *data*
  (make-marray double-float :inital-contents '((1 2) (3 4)))

; vector (1,3), works fine
(grid:column *data* 0)

; vector (2,4), works fine
(grid:column *data* 1)

; Errors
(grid:row *data* 0)
; Invalid argument; vector length n must be positive integer in init_source.c 
at line 90

; Same error
(grid:row *data* 1)
; Invalid argument; vector length n must be positive integer in init_source.c 
at line 90

Now, if I rerun the defparameter, and run the grid:row functions first, they
succeed, but the grid:column functions afterwards fail. I don't quite
understand, because *data* is not modified by these functions.

At the moment, I'm too lazy^H^H^H^Hbusy to look into the source code and
discover the source of the problem on my own. Maybe I'm just doing it wrong,
though. Any help is appreciated.

-Sumant

-- 
Sumant Oemrawsingh

_______________________________________________
Gsll-devel mailing list
[email protected]
http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel

Reply via email to