[GSLL-devel] Incorrect example code in gsl/grid documentation?
15 Nov
2010
15 Nov
'10
10:19 p.m.
Hello, (I downloaded gsd/gsll a few days ago) In the documentation section 3.2.1 map-grid, the following example does not work: (map-grid :source 'index-fill-decadal :source-dims '(3 4)) Instead, it should probably include the `destination-specification': (map-grid :source #'index-fill-decadal :source-dims '(3 4) :destination-specification '((array 3 4) double-float)). The map-grid documentation is a bit unclear. It says that if `destination-specification' is not provided, map-grid defaults to `source'. But source is a function. Looking at map-n-grids code in map.lisp, I don't see a test clause that handles the case of unspecified `destination-specification' Mirko
5196
Age (days ago)
5196
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mirko Vukovic