Re: (SETF (MATRIX-REF ...) ... ) problem?

Raymond Toy <[email protected]> Wed, 01 Dec 2004 14:47:51 -0500
Newsgroups gmane.lisp.matlisp.user
Message-ID <[email protected]>
>>>>> "Michael" == Michael A Koerber <[email protected]> writes:

    Michael> The following code segment shows this.  I'm using
    Michael> matlisp-2.0beta-2003-10-14.tar.gz under FreeBSD 4.9.
    Michael> I suspect the problem is in REF.LISP but haven't tracked it down.  Can
    Michael> anyone help?

What error do you get?  When I try this, I get

* (setf (m:matrix-ref *c* (m:seq 0 4) 0) (m:matrix-ref *d* (m:seq 0 4) 0))

No matching method for the generic function
#<STANDARD-GENERIC-FUNCTION MATLISP:NUMBER-OF-ELEMENTS (1) {400FDCC9}>, when
called with arguments (0).
   [Condition of type PCL::NO-APPLICABLE-METHOD-ERROR]

I think when I refactored set-complex-from-complex-matrix-slice, I
messed up.  I'll look into it.

Ray



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/