Question: wrong in using eval

I have s := [[x[1] = 0, x[2] = 0, x[3] = 0]]

when I use s in

J1 := eval(Ja, s)

 

This message appear 

Error, invalid input: eval expects its 2nd argument, eqns, to be of type {integer, equation, set(equation)}, but received s

 But When I wrote 

J1 := eval(Ja, [x[1] = 0, x[2] = 0, x[3] = 0]), it runs well

I need the solution for first one since s created automaticly 

 

what should I do?

Please Wait...