Problem with linsolve?



Hi,

I'm having the following problem with linsolve:

X : genmatrix(x,3,3)$
r(i) := sum(X[i,j],j,1,3)
linsolve([r(1)=10,r(2)=5], [X[1,1],X[1,2]])

Maxima encountered a Lisp error:
Error during processing of --eval option "(cl-user::run)":
The value 2 is not of type LIST.
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.

If I remove r(2)=5 from the list of equations, the error goes away.
Does anyone have an idea about what is going on?


			Kostas