Two errors, one yours, one mine. Do a fresh pull of GSLL: Head: 12db5cd09b - Extract c-pointer of interpolation arrays xa, ya before passing
Then note :x1 is not a valid keyword to #'evaluate. Try :xa instead. On Tue, Mar 2, 2010 at 11:01 AM, Mirko Vukovic <[email protected]> wrote: > The following snippet: > > (let ((v1 #m(1d0 2d0 3d0)) > (v2 #m(3d0 2d0 1d0))) > (let ((interpolation (make-interpolation +linear-interpolation+ > v1 v2)) > (accel (make-acceleration))) > (evaluate interpolation 2d0 :ya v2 :x1 v1 :acceleration accel))) > > throws an error on SBCL (1.0.34): > > There is no applicable method for the generic function > #<STANDARD-GENERIC-FUNCTION C-ARRAY:ORIGINAL-ARRAY (1)> > when called with arguments > (NIL). > [Condition of type SIMPLE-ERROR] > > spline interpolation works. So, what am I missing? > > Mirko > > _______________________________________________ > Gsll-devel mailing list > [email protected] > http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel > > _______________________________________________ Gsll-devel mailing list [email protected] http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel
